Commit Graph

5560 Commits

Author SHA1 Message Date
alexander.akait c802a98f58 style: improve 2024-08-02 19:32:22 +03:00
alexander.akait 312f7ae662 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 9943f3506a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 0b745968a2 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait b9d9a5d9ff style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 0a68cb16a4 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait c914fe202a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait ac0bd21801 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 500ee96dcb style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 5725254415 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait a592b62686 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 423e89b2c7 style: improve style of code 2024-08-02 19:32:13 +03:00
alexander.akait 98dddab691 fix: handle properly `data`/`http`/`https` protocols in source maps 2024-08-02 19:25:52 +03:00
alexander.akait d19b8945ef test: cverage stability 2024-08-01 18:59:52 +03:00
alexander.akait e920cf23d1 test: stability 2024-07-31 18:35:50 +03:00
alexander.akait 93b3008fc0 chore: improve jsdoc eslint rules 2024-07-30 15:26:24 +03:00
ahabhgk be4a283318 fix: use different key 2024-07-26 08:28:37 +08:00
ahabhgk a08d9d590e fix: add runtime condition for harmony reexport checked 2024-07-26 00:57:47 +08:00
alexander.akait d8a8ab07a7 test: fix 2024-07-24 17:08:36 +03:00
alexander.akait b233a4cc77 test: fix 2024-07-24 16:35:33 +03:00
alexander.akait 5b7445e4b8 test: avoid size in stats snapshot testing 2024-07-24 16:09:08 +03:00
alexander.akait f13c1d52fb test: update 2024-07-24 15:56:30 +03:00
alexander.akait eac3fab4a4 test: fix 2024-07-24 15:50:02 +03:00
alexander.akait ffb8f0b493 test: fix 2024-07-24 15:25:24 +03:00
alexander.akait a6bf367be8 ci: fix 2024-07-23 17:41:17 +03:00
Alexander Akait 76ab754099
fix: relative path to runtime chunks 2024-07-11 19:29:10 +03:00
alexander.akait 40b1a77183 test: added 2024-07-11 18:51:59 +03:00
Alexander Akait 1a27b9edca
fix: contenthash for css generator options 2024-07-10 19:53:51 +03:00
Alexander Akait d4e99e90e3
feat: allow to override strict for javascript module 2024-07-10 19:51:50 +03:00
Alexander Akait a01668c786
feat: reduce unnecessary exports runtime for `modern-module` libraries 2024-07-10 19:49:09 +03:00
fi3ework 7cacdb5685 feat: reduce unnecessary exports runtime 2024-07-10 11:46:24 +08:00
ahabhgk 515c0d3cd0 fix: strip slash for pretty regexp 2024-07-04 15:36:24 +08:00
ahabhgk 31d72a8812 fix test 2024-07-04 15:26:51 +08:00
ahabhgk 9c9cb0bcdd feat: override strict for javascript module 2024-07-03 16:32:36 +08:00
ahabhgk 97335e1c79 fix node 10 test 2024-07-01 10:52:38 +08:00
ahabhgk a12ee1e946 fix: contenthash for css generator options 2024-06-30 18:13:56 +08:00
Alexander Akait dd44b206a9
fix: consumption of eager shared modules for module federation 2024-06-21 17:22:29 +03:00
alexander.akait f36ae6c702 test: added 2024-06-21 17:01:58 +03:00
ahabhgk cfd6049ff6 fix: mangle destructuring default in namespace import 2024-06-21 21:01:17 +08:00
Alexander Akait 6860a0007f
chore: deps update 2024-06-20 20:13:35 +03:00
alexander.akait 4224c7c39d test: skip errored tests for cache 2024-06-20 19:05:40 +03:00
alexander.akait e8f987423d ci: stability 2024-06-20 13:55:18 +03:00
Alexander Akait abb0fb30c0
feat: added the `modern-module` library value for tree shakable output 2024-06-19 21:09:10 +03:00
alexander.akait 1c855e8ae1 chore: deps update 2024-06-19 20:48:41 +03:00
Alexander Akait ee81edc6a2
feat: add the `binary` generator option for asset modules to explicitly keep source maps produced by loaders 2024-06-19 20:20:46 +03:00
alexander.akait 1e2e0ac44f refactor: code 2024-06-19 19:33:28 +03:00
alexander.akait 8efac4399a test: added 2024-06-19 18:55:41 +03:00
fi3ework 03aab9478a test: filter node10 / 12 as ts5 requires 14 at least 2024-06-19 15:12:21 +08:00
fi3ework 475684c908 fix: should attach exports names on buildMeta 2024-06-19 11:13:05 +08:00
fi3ework 5cff7bd0e7 fix: assert output won’t be wrapped in IIFE 2024-06-19 11:11:46 +08:00
fi3ework c54d4a4b1f chore: use 'modern-module' as new type 2024-06-19 11:11:42 +08:00
fi3ework f6b9af6ed0 feat: tree shakable output for module library 2024-06-19 11:11:41 +08:00
Arcanox d5fec82dd8 Remove usage of String.prototype.replaceAll so test runs on Node 10 2024-06-11 14:25:06 -05:00
Arcanox a65d329381 Fix accessing generatorOptions object when null/undefined, and update test snapshot with the new CLI flags resulting from the new generator option 2024-06-11 14:25:06 -05:00
ArcanoxDragon b6f164b2a9 Add a generator option for asset modules to prevent automatic conversion to Buffer (which causes source maps to be lost). Fixes #18438 2024-06-11 14:25:05 -05:00
alexander.akait 964b9aa0fb test: update snapshots 2024-06-11 17:55:59 +03:00
alexander.akait fcdfc26ef2 chore: fix 2024-06-11 15:38:41 +03:00
alexander.akait 81f2e865a6 chore: update eslint to v9 2024-06-11 15:32:02 +03:00
Alexander Akait 0c5879aa67
fix: css url public path 2024-06-10 22:03:14 +03:00
alexander.akait 1763c7d054 test: update 2024-06-10 20:54:22 +03:00
alexander.akait cf105ac242 test: update 2024-06-10 20:42:55 +03:00
alexander.akait ba4db838e9 feat: added `with` ruleset rule 2024-06-10 20:40:50 +03:00
alexander.akait 2296c75bac fix: types 2024-06-10 20:02:46 +03:00
alexander.akait 6154a2393f refactor: code 2024-06-10 19:21:03 +03:00
alexander.akait 08f87802f6 test: refactor 2024-06-10 17:45:21 +03:00
alexander.akait cb9d58755a test: more 2024-06-10 17:45:21 +03:00
alexander.akait 8c6f46967d test: added 2024-06-10 17:45:21 +03:00
ahabhgk 944547ee58 rebase 2024-06-10 22:33:46 +08:00
ahabhgk 3afed0618b fix module rule output path 2024-06-10 22:29:15 +08:00
ahabhgk 673278c692 rebase and test 2024-06-10 22:29:15 +08:00
ahabhgk 4a360f63f5 works for node10 2024-06-10 22:29:15 +08:00
ahabhgk c5617482b7 fix: css url public path 2024-06-10 22:29:15 +08:00
Alexander Akait 941d3a6017
feat: added platform target properties to compiler. 2024-06-07 18:03:18 +03:00
Alexander Akait 8de5f9ac09
fix: mangle with destructuring 2024-06-07 15:25:33 +03:00
Nitin Kumar d9cfc68276
Merge pull request #18461 from webpack/chore/update-deps
chore: update minor dependencies
2024-06-06 15:23:54 +05:30
ahabhgk 2f9334fa45 add test 2024-06-06 01:47:50 +08:00
ahabhgk fdf04da444 lint and fix test 2024-06-06 01:20:48 +08:00
ahabhgk 327d208156 fix review 2024-06-06 01:15:03 +08:00
Nitin Kumar 93025a2ddd chore: update snapshots 2024-06-05 13:54:26 +05:30
Nitin Kumar 1c7af88e7b chore: update snapshots 2024-06-05 12:44:51 +05:30
Nitin Kumar c4cf6ad3e2 chore: update snapshot & fix lint 2024-06-05 12:38:38 +05:30
Nitin Kumar 8c468327b8 fix: correct tidle range's computation 2024-06-05 08:20:41 +05:30
Alexander Akait d9ce3b1f87
feat: support css esModule generator options 2024-06-04 15:42:23 +03:00
ahabhgk 563c56f406 fix: consider runtime for pure expression dependency update hash 2024-06-04 15:25:43 +08:00
ahabhgk 7803496687 cleanup 2024-05-31 22:18:51 +08:00
alexander.akait 360791ed15 test: fix 2024-05-22 16:22:07 +03:00
Ivan Kopeykin ba6ace7f30 Merge branch 'main' into feat-platform-target-properties-in-compiler
# Conflicts:
#	lib/config/defaults.js
#	lib/webpack.js
#	types.d.ts
2024-05-08 19:21:41 +03:00
Ivan Kopeykin ca4e22ce17 skip tests for basic test run 2024-05-08 12:43:56 +03:00
alexander.akait c27648461e test: fix 2024-05-07 19:38:06 +03:00
alexander.akait 677dc53080 refactor: logic 2024-05-07 19:01:41 +03:00
Ivan Kopeykin a52e328683 more tests 2024-05-07 16:22:09 +03:00
Ivan Kopeykin 0a15026561 Merge branch 'main' into feature/issue-14843 2024-05-07 16:18:30 +03:00
Ivan Kopeykin 31ddbd2232 Merge branch 'main' into feat-platform-target-properties-in-compiler 2024-05-07 16:17:55 +03:00
Alexander Akait a679033a0b
test: add test for multiple inlined modules 2024-05-07 15:30:24 +03:00
Alexander Akait 3f5a5ab636
refactor: should count in module scope variables 2024-05-07 15:12:12 +03:00
Alexander Akait 7ba3705ba7
feat: support `"..."` in resolve `importsFields` 2024-05-07 15:07:51 +03:00
Ivan Kopeykin 3a498e7a39 fix namings 2024-05-01 18:10:57 +03:00
Ivan Kopeykin 8510a6d0d7 add test 2024-05-01 17:54:03 +03:00
Ivan Kopeykin 24f8a3a1b7 fix warnings 2024-05-01 15:06:35 +03:00
ahabhgk 5091d37d42 fix: failed to resolve promise when eager import a dynamic cjs 2024-04-30 17:42:04 +08:00
ahabhgk 7ff0a7a13e feat: support css esModule generator options 2024-04-26 14:53:52 +08:00
fi3ework 7982789cad test: add test for multiple inlined modules 2024-04-26 01:57:46 +08:00
ahabhgk 0de9b1d2b5 fix: support "..." for resolve importsFields 2024-04-25 15:53:56 +08:00
fi3ework 1234b1f27b fix: should count in module scope variables 2024-04-25 02:21:44 +08:00
Alexander Akait c586c7b1e0
feat: root module is less prone to be wrapped in IIFE 2024-04-24 15:08:00 +03:00
fi3ework 551c3721cf feat: root module is less prone to be wrapped in IIFE 2024-04-24 15:54:06 +08:00
ahabhgk 0e28b6e359 fix: parse minimized css import 2024-04-23 14:29:13 +08:00
Alexander Akait 4b50219b3e
fix: css/global not handle the exports name 2024-04-22 21:16:07 +03:00
hai-x 5c98c0895c test: add test case to pr-16701 2024-04-22 03:08:18 +08:00
ahabhgk bf2571b957 remove exportsConvention for css 2024-04-20 12:10:56 +08:00
ahabhgk 42160d0232 fix: avoid hash @keyframe and @property in css/global 2024-04-20 11:29:06 +08:00
ahabhgk 15cf31c462 fix 2024-04-13 18:40:08 +08:00
ahabhgk 3a49b0210b add test 2024-04-13 18:14:23 +08:00
Ivan Kopeykin 5203fbf5c9 add default cache names in multicompiler mode 2024-04-13 07:12:56 +03:00
ahabhgk 0734314753 fix: mangle with destructuring 2024-04-13 02:40:28 +08:00
Ivan Kopeykin 513126d33c add default cache names in multicompiler mode 2024-04-12 21:18:46 +03:00
Alexander Akait e97af9b531
feat: support `node:` prefix for Node.js core modules in runtime code 2024-04-12 16:31:23 +03:00
alexander.akait 6e85f7f1c0 test: fix 2024-04-12 15:41:05 +03:00
Ivan Kopeykin d00aa38604 Merge branch 'main' into feature/issue-14843 2024-04-12 15:21:53 +03:00
alexander.akait 7ec9157d78 test: added 2024-04-12 15:08:08 +03:00
nanianlisao 2cf4283751 update test 2024-04-12 17:05:01 +08:00
alexander.akait 7fc1d52f42 test: update 2024-04-11 19:24:59 +03:00
alexander.akait ca0f1e82ed test: fix 2024-04-02 17:40:26 +03:00
alexander.akait f3dbf6bc39 feat(css): allow to use default and named export 2024-04-02 16:57:29 +03:00
David Michon c5fe368326 (test) Clarify unit test for xxx.yyy.canMangle 2024-03-25 15:14:03 -07:00
David Michon 2feccc099d (fix) Correct behavior of __webpack_exports_info__.a.b.canMangle 2024-03-25 15:01:41 -07:00
alexander.akait 728c1b52fb test: more 2024-03-25 16:48:46 +03:00
alexander.akait fdf07bd487 test: fix 2024-03-25 16:19:03 +03:00
alexander.akait 9c61ce5694 test: fix 2024-03-25 16:07:02 +03:00
alexander.akait 427f02e07a test: added 2024-03-21 18:55:58 +03:00
alexander.akait e3fd8e122b refactor: improve check 2024-03-21 16:58:57 +03:00
hai-x b84d19267b fix: runtimeChunk has no exports when module chunkFormat 2024-03-21 02:46:40 +08:00
Alexander Akait 0bc85d127c
fix: throw error when dll-plugin needs to generate multiple manifest files, but the path is the same. 2024-03-18 19:36:21 +03:00
cwj0417 6b6ce2a4a8 chore: throw error when dllplugin needs to generate multiple manifest files but the path config is incorrect. 2024-03-18 01:14:08 +08:00
alexander.akait 974698745e test: added for the stage option of BannerPlugin 2024-03-15 21:06:50 +03:00
alexander.akait 2318e26339 test: fix 2024-03-15 20:02:49 +03:00
alexander.akait 9ed9d06c05 test: more 2024-03-15 19:59:30 +03:00
alexander.akait d50aeb629e test: import attributes 2024-03-15 19:03:28 +03:00
alexander.akait 1532a526e6 test: refactor 2024-03-15 17:47:07 +03:00
alexander.akait b2252fa5b1 fix(css): output layer/supports/media for CSS external imports 2024-03-15 15:15:53 +03:00
Alexander Akait 3d1ced3c20
feat: support prefetch/preload for CSS 2024-03-14 21:31:28 +03:00
alexander.akait 22a701d628 test: fix 2024-03-14 19:53:39 +03:00
alexander.akait 2075b33d4b test: added 2024-03-14 19:27:31 +03:00
jserfeng 90d3ba8b6b fix: wrongly calculate postOrderIndex 2024-03-14 15:20:56 +08:00
alexander.akait de04cc441b test: stability 2024-03-13 19:12:18 +03:00
alexander.akait 1e685046c4 test: avoid extra output 2024-03-13 18:29:53 +03:00
alexander.akait fc028be4da test: fix 2024-03-13 17:00:12 +03:00
alexander.akait 0325370ed8 test: update 2024-03-12 21:44:34 +03:00
Alexander Akait a53721e1dd
refactor: fix typos 2024-03-12 18:38:34 +03:00
alexander.akait ac66c0ab9c test: fix 2024-03-12 13:24:13 +03:00