Commit Graph

25 Commits

Author SHA1 Message Date
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
alexander.akait ba4db838e9 feat: added `with` ruleset rule 2024-06-10 20:40:50 +03:00
alexander.akait 5c28ea39a5 fix: types 2024-03-11 17:56:35 +03:00
ahabhgk ffbaf20bca fix: error message for condition or 2023-09-19 11:48:22 +08:00
alexander.akait 9894226149 refactor(types): more 2023-06-14 19:46:53 +03:00
alexander.akait 27cae68bda feat: allow to use `falsy` loaders and plugins 2023-06-14 18:25:31 +03:00
Sven Sauleau 6c50c81350 Revert "Revert "Merge pull request #12278 from xtuc/sven/import-assertions""
This reverts commit 61946b7c46.
2021-07-24 23:28:30 +01:00
Tobias Koppers 61946b7c46 Revert "Merge pull request #12278 from xtuc/sven/import-assertions"
This reverts commit df02bc6c0a, reversing
changes made to a6f341e243.
2021-07-16 21:54:21 +02:00
Tobias Koppers 7f22e4721f match on asserts
change Map to Record
improve test case
2021-07-16 13:17:20 +02:00
Tobias Koppers 86805ee5b8 fixes #13719 2021-07-06 00:50:13 +02:00
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