Commit Graph

15 Commits

Author SHA1 Message Date
Tobias Koppers 10aa3daede add experiments.layers
add layers to define different module layers
support module layers in stats

add layer support for NormalModules

fixes #11466
2021-01-05 20:50:59 +01:00
Tobias Koppers 8acebd2ff5 treat `undefined` equal to not existing in rules
both are treated as empty string
2020-12-17 11:20:11 +01:00
Tobias Koppers 2ac055093c improve handling of null values and prototype properties 2020-07-17 15:41:30 +02:00
Tobias Koppers 205bbb4c0d improve compatibly with node.js ESM
improve experiments.mjs to be more compatibly with node.js ESM
  - add support for `type: "module"` in package.json
  - add support for `*.cjs`
  - enable strict ESM for data uris with `text/javascript` or `application/javascript`
  - disallow not fully specified requests in imports `*.mjs` or `type: "module"`

add `descriptionData` rule condition to match package.json info
fix passing resolveOptions along context modules
2020-07-17 13:58:29 +02:00
evilebottnawi dafa4cd69a chore: setup cspell 2020-03-12 19:51:26 +03:00
Nitin Kumar 285529a643
chore: fix typos across the project 2020-03-10 07:29:46 +05:30
Tobias Koppers 2ed5212fbe handle ident handling for loader + options shorthand rule syntax 2020-01-16 09:14:10 +01:00
Tobias Koppers 085f3d7f89 improve location reporting 2019-12-17 17:15:49 +01:00
Tobias Koppers cfac87382f cleaup
add missing loader options place
2019-12-17 16:33:06 +01:00
Sergey Melyukov c11f89c976 pr comments 2019-12-16 13:40:04 +03:00
Tobias Koppers 44f812b66a skip over undefined properties in rules
see regression https://github.com/webpack/webpack/issues/8537#issuecomment-508451734
2019-07-12 12:19:51 +02:00
Tobias Koppers 0505e177f1 add more types and fix/remove TODOs
change Chunk.files to Set
remove checkContext from IgnorePlugin
remove external flag from ExternalModule
2019-06-14 10:45:56 +02:00
Tobias Koppers 52d526afb4
remove TODO 2019-05-20 09:20:44 +02:00
Tobias Koppers ba249c1f96
fix typo 2019-05-20 09:20:18 +02:00
Tobias Koppers 74d4669d73 rewrite RuleSet to RuleSetCompiler with plugins
remove some deprecated features (query, loaders)
add missing condition (realResource)
2019-05-16 11:37:52 +02:00