Commit Graph

8737 Commits

Author SHA1 Message Date
alexander-akait 471488e316 fix: types and tests 2025-03-27 16:58:00 +03:00
Alexander Akait 79c5575cfc
chore: fix `any` types
Github Actions / lint (push) Waiting to run Details
Github Actions / basic (push) Waiting to run Details
Github Actions / validate-legacy-node (push) Waiting to run Details
Github Actions / unit (push) Waiting to run Details
Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (18.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (23.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (23.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions Details
2025-03-27 04:10:25 +03:00
alexander-akait 7e5752d7fe chore: fix `any` types 2025-03-27 03:07:25 +03:00
Thomas Faller 23e9ba32e1
fix: excessive calls of getAllReferences 2025-03-16 17:57:07 +01:00
Alexander Akait 87b203b27e
fix : optimize loc for monomorphic inline caching 2025-03-14 04:53:51 +03:00
Alexander Akait 370bacc6c8
fix: profiling plugin for CSS (#19324) 2025-03-13 23:06:40 +03:00
Alexander Akait cb93228ce5
fix: use `xxhash64` for `cache.hashAlgorithm` when `experiments.futureDefaults` (#19323) 2025-03-13 22:39:02 +03:00
Alexander Akait 5c51d83932
fix(types): no `Function` 2025-03-13 20:46:01 +03:00
alexander-akait 70bdb248e4 fix: no `Function` types 2025-03-13 19:34:04 +03:00
ShobhitPatra 394c4c32e9 optimize loc for monomorphic inline caching 2025-03-13 20:21:25 +05:30
Qingyu Wang 8ab85e29bb feat: implement `module.generator.json.JSONParse`
For large `.json` modules, webpack will generate `JSON.parse` by default for
better performance. But there are some circumstances that `JSON.parse` is not a
good choice (e.g.: when doing AOT compilation).

Thus, a new generator option `module.generator.json.JSONParse` is added to
disable generating `JSON.parse` for `.json` module.

The default value is kept as `true` and can be opt-out by custom rules.

fix: #19319
2025-03-13 22:24:10 +08:00
alexander-akait 75314afd4e chore: fix typo 2025-03-12 05:14:53 +03:00
alexander-akait a1df00d339 refactor: improve eslint configuration and better types 2025-03-12 04:56:14 +03:00
alexander-akait c1c085d74a fix: `strict` types 2025-03-11 17:20:50 +03:00
Wei 1b7f0e1e95
fix(commonjs-static): export unprovided variables (#19303) 2025-03-11 09:18:11 +03:00
alexander-akait 8089525014 fix: fs type 2025-03-11 05:34:56 +03:00
alexander-akait 0992137f40 fix: types 2025-03-11 05:03:41 +03:00
alexander-akait 5a94c06c67 fix: types 2025-03-11 03:28:01 +03:00
Alexander Akait 7df403ed5d
chore: fix lint (#19295) 2025-03-10 16:05:50 +03:00
alexander-akait 9abab772ea fix: types 2025-03-07 19:02:26 +03:00
Alexander Akait 8e9ff66838
chore: eslint improvements (#19293) 2025-03-07 18:32:55 +03:00
Alexander Akait 7b4641f5ee
fix: types (#19291) 2025-03-07 16:12:22 +03:00
Alexander Akait 59ede3c64a
fix: do not duplicate modules with import attributes and reexport (#19290) 2025-03-06 23:02:09 +03:00
Alexander Akait 98221f239b
fix: use a valid output path for errored asset modules (#19281) 2025-03-05 17:41:19 +03:00
Alexander Akait 05f2862b32
feat: handle `new Worker(import.meta.url)` and `new Worker(new URL(import.meta.url))` syntax (#19279) 2025-03-05 00:59:19 +03:00
Alexander Akait 916f049fba
fix: remove BOM from javascript and css modules 2025-03-04 21:05:18 +03:00
inottn ebd45ca5ee
fix: entry module isn't executed when targeting webworker with a runtime chunk 2025-03-03 20:36:12 +03:00
Ivan Kopeykin af7d788437
feat: add dead control flow check 2025-02-28 17:39:34 +03:00
co63oc 564a0e52a0
chore: fix typo in types 2025-02-27 14:00:58 +03:00
inottn fdfb92ae3e
chore: remove duplicate 'yield' from reserved identifiers (#19256) 2025-02-27 13:16:36 +03:00
Mateusz Burzyński 3ee8d5fa82
chore: fixed type issues in `_createLoaderContext` (#19233) 2025-02-27 13:00:17 +03:00
inottn 6bda8a3549
refactor: remove unnecessary check in dependency type assignment (#19224) 2025-02-26 15:13:42 +03:00
David Michon 3755a3ec8a
fix: forward semicolons from meta.webpackAST (#19252) 2025-02-26 15:03:47 +03:00
Alexander Akait 7168389ac6
fix: JSON generator now preserves `__proto__` property (#19232) 2025-02-14 23:57:39 +03:00
hai-x e3092e5d7e
fix: runtime error when using asset module as entrypoint and runtimeChunk (#19229) 2025-02-14 22:27:38 +03:00
Xiaoyi a1edb20b10
fix: node async wasm loader now use `output.module` to determinate code generation (#19210) 2025-02-10 21:31:21 +03:00
inottn e55b08b9eb
perf: use startsWith for matching instead of converting the string to a regex 2025-02-10 21:06:03 +03:00
Alexander Akait f123ce5090
fix: respect `output.charset` everywhere (#19202) 2025-02-07 07:17:55 +03:00
Alexander Akait af20c7be24
fix: strip `blob:` protocol when public path is `auto` (#19199) 2025-02-06 23:25:59 +03:00
Alexander Akait 80826c5cf2
feat: implement `/* webpackIgnore: true */` for `require.resolve` (#19201) 2025-02-06 21:08:08 +03:00
inottn ac6ffca02d
fix(types): correct BuildInfo and BuildMeta type definitions (#19200) 2025-02-06 16:41:24 +03:00
David Michon e83fb236ee (perf) optimize assign-depths 2025-02-05 11:33:07 -08:00
David Michon 131d02f8c4 (fix) Use module ids for final render order 2025-02-04 15:21:02 -08:00
Alexander Akait a5ad13c092
fix: preserve `filenameTemplate` in new split chunk for `cacheGroups` 2025-02-04 21:24:53 +03:00
Henry Dineen e401c64833
fix: preserve filenameTemplate in new split chunk 2025-01-31 17:57:30 -05:00
Mateusz Burzyński 2d5447ef43
chore: fixed incorrect typecast in `DefaultStatsFactoryPlugin` 2025-01-22 22:51:36 +01:00
Alexander Akait 3919c844ec
perf: improve FlagDependencyExportsPlugin for large JSON by depth 2024-12-19 17:55:19 +03:00
alexander.akait a86bff2874 fix: `JsonExportsDependency` cache 2024-12-19 05:07:45 +03:00
alexander.akait 83ff2426bc fix: mf parse range not compat with safari 2024-12-18 20:50:18 +03:00
hai-x 3de7b0d330 refactor: use `module.parser.json.exportsDepth` 2024-12-14 01:24:31 +08:00
Alexander Akait 964c0315df
fix: should not escape CSS local ident in JS 2024-12-13 18:45:46 +03:00
alexander.akait d8719cd023 fix: avoid the deprecation message 2024-12-13 17:03:44 +03:00
jserfeng d72ccc1d3b fix: should not escape css local ident in js 2024-12-13 15:27:01 +08:00
hai-x 38df65df32 perf: improve FlagDependencyExportsPlugin for large JSON by depth 2024-12-12 19:57:02 +08:00
Alexander Akait eb7ac6f39a
fix: perf regression 2024-12-05 17:01:21 +03:00
Alexander Akait 554be24d3b
fix: sub define key should't be renamed when it's a defined variable 2024-12-04 16:46:47 +03:00
hai-x 58fb03552c fix: sub define key should't be renamed when it's a defined variable 2024-12-04 20:12:40 +08:00
alexander.akait af1fd12efe perf: regression 2024-12-04 12:23:52 +03:00
alexander.akait 0ec7f5db97 refactor: issue #19030 2024-12-04 12:07:49 +03:00
Alexander Akait 644f1d1271
refactor: no extra work for CSS unescaping 2024-12-03 14:06:30 +03:00
Alexander Akait a2ad76cd50
refactor: CSS HMR 2024-11-29 21:41:09 +03:00
alexander.akait 8edbc7ce2a refactor: no extra work for CSS unescaping 2024-11-29 21:39:14 +03:00
alexander.akait 5e2abae79e test: added 2024-11-29 20:35:09 +03:00
alexander.akait d5f19bf9a4 refactor: code 2024-11-29 14:06:22 +03:00
alexander.akait b475c53b81 fix: logic 2024-11-29 13:57:25 +03:00
alexander.akait aa1d44e29e test: fix 2024-11-28 23:45:02 +03:00
alexander.akait 38f21c0da8 test: fix 2024-11-28 23:42:33 +03:00
alexander.akait 193b712734 refactor: CSS HMR 2024-11-28 23:35:59 +03:00
alexander.akait aec2ccbc61 refactor: logic 2024-11-25 16:23:13 -08:00
ScriptedAlchemy ba11c5476f fix: Recursive search for versions of shared dependencies 2024-11-25 16:23:12 -08:00
ScriptedAlchemy ebfe722e41 fix: Recursive search for versions of shared dependencies 2024-11-25 16:23:12 -08:00
alexander.akait fbd7d85548 fix: css local escaping 2024-11-25 20:41:48 +03:00
alexander.akait 6fe040f036 feat: universal CSS target 2024-11-25 17:51:47 +03:00
Alexander Akait 45d41b0349
perf: faster queue implementation 2024-11-21 16:41:23 +03:00
alexander.akait b4f853309f feat: support for eval 2024-11-21 16:03:36 +03:00
Tim Fish 7f8802a8da Merge remote-tracking branch 'upstream/main' into feat/inject-debug-ids 2024-11-20 16:03:49 -05:00
Alexander Akait b041f7a2e9
fix: set `output.iife` to `true` when `output.iife` is `false` and `output.library.type` is `umd` and output a warning 2024-11-20 19:02:57 +03:00
alexander.akait 8a04c64e5e refactor: code 2024-11-20 18:35:15 +03:00
Alexander Akait 1a5e531ccb
feat: use ES modules for universal target for chunks and worker chunks 2024-11-20 18:22:09 +03:00
Alexander Akait f2521e043a
refactor: delete unused statements in DefaultStatsFactoryPlugin 2024-11-20 18:01:20 +03:00
alexander.akait 7aef2e359c perf: a faster Queue implementation 2024-11-20 16:51:43 +03:00
Alexander Akait 5e3e1572a0
feat: allow initial CSS chunks be anywhere 2024-11-20 16:16:48 +03:00
alexander.akait 2a8bb8bcf7 test: fix 2024-11-20 04:31:41 +03:00
alexander.akait f12de16d2f test: fix 2024-11-19 22:18:51 +03:00
Muthukumar M affadffeec Refactor Queue class: remove unnecessary iterator property, streamline dequeue method 2024-11-19 10:25:41 +05:30
alexander.akait 71ea450287 test: fix 2024-11-15 20:54:46 +03:00
alexander.akait 627773bb69 fix: runtime 2024-11-15 19:39:13 +03:00
alexander.akait 4d95b0df1d fix: concatenation 2024-11-15 18:59:14 +03:00
alexander.akait cb8bdfa522 feat: allow initial chunks be anywhere 2024-11-14 19:14:15 +03:00
daxpedda d5dc65eedd
Accept `externref` as valid type to interact with 2024-11-14 15:40:37 +01:00
alexander.akait 3d37ec5a76 feat: use ES modules for universal target for chunks and worker chunks 2024-11-14 17:03:02 +03:00
Tim Fish 5821a9b8ea Merge remote-tracking branch 'upstream/main' into feat/inject-debug-ids 2024-11-14 13:50:23 +00:00
alexander.akait 0016a1a075 fix: sync and async wasm generation 2024-11-14 06:34:49 +03:00
alexander.akait 8031c700a1 refactor: supports streaming for wasm universal 2024-11-14 04:50:38 +03:00
alexander.akait 1c18ffdfe9 feat: universal wasm loading for async wasm (only ES modules) 2024-11-14 03:12:56 +03:00
Alexander Akait 8841a824f5
fix: wasm loading for async webassembly in node 2024-11-14 01:56:30 +03:00
alexander.akait 644e5630fe fix: logic 2024-11-13 23:38:12 +03:00
alexander.akait e172c44374 fix: logic 2024-11-13 23:37:17 +03:00
alexander.akait 67543070b2 fix: wasm loading for sync and async webassembly 2024-11-13 22:43:12 +03:00
alexander.akait 16719ec475 perf: cache hash of deps 2024-11-13 19:16:17 +03:00
Tim Fish 6f5c6b9778 Use debugids 2024-11-13 14:54:03 +00:00
alexander.akait 026f453b98 fix: collisions in ESM library 2024-11-13 16:34:34 +03:00
Alexander Akait da41ad1845
feat: export `MergeDuplicateChunksPlugin` and merge duplicate chunks before splitting 2024-11-12 21:07:32 +03:00
alexander.akait 54b687d8a1 fix: d.ts 2024-11-12 20:09:58 +03:00
alexander.akait 0ab5b9e00c feat: export `MergeDuplicateChunks` plugin 2024-11-12 19:42:30 +03:00
alexander.akait d7514b4fce fix: merge duplicate chunks 2024-11-12 19:15:33 +03:00
alexander.akait f01f82b2d8 fix(css): parsing strings on Windows 2024-11-12 19:10:09 +03:00
alexander.akait 9c2d53365c feat(css): composes custom properties 2024-11-12 03:21:00 +03:00
Tim Fish 5e2d5068b9 Merge remote-tracking branch 'upstream/main' into feat/inject-debug-ids 2024-11-11 17:21:29 +01:00
Tim Fish 55af197bdf Add top level debug-ids option 2024-11-11 16:22:06 +01:00
alexander.akait 640be2f1fe fix: logic 2024-11-08 17:37:19 +03:00
Tim Fish c8cc6143c8 Remove top-level option 2024-11-08 14:17:14 +01:00
Tim Fish 6476f0de02 feat: Add support for injecting debug IDs 2024-11-08 13:49:08 +01:00
alexander.akait bc6ef39a9e feat: `@value` in CSS modules 2024-11-07 22:25:16 +03:00
alexander.akait 23228c8c50 feat: parse `:import` 2024-11-06 22:14:10 +03:00
Arka Pratim Chaudhuri 156e94585f chore: move check out of RuntimeTemplate 2024-11-05 22:41:51 +05:30
alexander.akait 47adff9e94 fix: variable name conflict with concatenate and runtime code 2024-11-05 18:29:13 +03:00
Arka Pratim Chaudhuri 4c35dc5d33 chore: license lint 2024-11-03 20:41:56 +05:30
Arka Pratim Chaudhuri 72bf754d5e fixes: #18687
fix: produces correct code when 'output.iife' is false & 'output.library.type' is 'umd', & it gives a warning to the users.
2024-11-03 20:24:46 +05:30
alexander.akait 31062ff7b1 test: `import` tests from css-loader 2024-11-01 22:50:50 +03:00
alexander.akait 1f14082a14 test: `url` tests from css-loader 2024-11-01 22:04:52 +03:00
alexander.akait 753f051509 fix: don't add `[uniqueName]` to `localIdentName` when it is empty 2024-11-01 20:15:02 +03:00
alexander.akait 5e09d0e05f feat: added `url` and `import` options for CSS 2024-11-01 18:43:21 +03:00
alexander.akait 9e190d738a fix: crash with filesystem cache and unknown scheme 2024-11-01 15:55:51 +03:00
alexander.akait 5c556e32c5 fix: types regression in validate 2024-11-01 13:48:22 +03:00
alexander.akait b07142f672 refactor: module source types code 2024-11-01 00:14:05 +03:00
ScriptedAlchemy 69dd27e3a6 fix: Module Federation should track all referenced chunks 2024-10-31 10:14:08 -07:00
alexander.akait db323536f2 refactor: code 2024-10-31 20:04:57 +03:00
alexander.akait 79b8f00ea5 refactor: update acorn 2024-10-31 18:32:03 +03:00
alexander.akait b520904482 refactor: udate acorn 2024-10-31 18:32:03 +03:00
alexander.akait dd83eea98d refactor: code 2024-10-31 18:18:08 +03:00
alexander.akait 5cbb321d6a feat: export CSS and ESM runtime modules 2024-10-31 17:55:49 +03:00
alexander.akait d7292f45d2 fix: handle DataURI without `base64` word 2024-10-30 20:08:37 +03:00
Alexander Akait bea6384038
fix: hotUpdate chunk modified with new runtime should have correct runtime 2024-10-30 17:29:43 +03:00
jserfeng 03f8bf71bf fix: hotUpdate chunk modified with new runtime should have correct runtime 2024-10-30 18:02:57 +08:00
alexander.akait 6589de0b63 fix: types 2024-10-24 21:13:59 +03:00
alexander.akait 0d5476df4f fix: types 2024-10-24 17:09:39 +03:00
alexander.akait e10dcf597e fix: types 2024-10-24 06:02:20 +03:00
alexander.akait 5ac0434184 fix: types 2024-10-24 00:41:15 +03:00
alexander.akait e11f2eaab4 fix: types 2024-10-24 00:07:47 +03:00
alexander.akait 8b864dbe81 fix: types 2024-10-23 23:30:31 +03:00
alexander.akait bb39c021af fix: no extra runtime for external asset modules in CSS 2024-10-23 21:28:40 +03:00
Alexander Akait 152cb00181
fix: order of chunks ids in generated chunk code 2024-10-23 17:05:57 +03:00
alexander.akait 97c3e87540 fix: order 2024-10-23 16:35:48 +03:00
Alexander Akait 319576720c
fix: avoid generating extra js file when using asset module as entrypoint 2024-10-23 03:44:56 +03:00
alexander.akait 7ffa4eb81a fix: logic 2024-10-23 03:03:35 +03:00
alexander.akait b0b8515bd6 fix: logic 2024-10-23 00:28:42 +03:00
alexander.akait dacf3dcdc3 refactor: code 2024-10-22 18:23:22 +03:00
alexander.akait 93fc22de6a fix: logic 2024-10-22 17:47:48 +03:00
alexander.akait 420d0d0eed fix: avoid generating extra js file when using asset module as entrypoint 2024-10-22 17:26:00 +03:00
Alexander Akait 9903856854
feat: Single Runtime Chunk and Federation eager module hoisting 2024-10-21 19:18:14 +03:00
alexander.akait ecd9c58f92 test: fix 2024-10-17 18:11:14 +03:00
alexander.akait 9820e0b3d6 feat(css): basic support for `declaration` 2024-10-16 19:46:13 +03:00
alexander.akait d46dee8f83 feat(css): basic support for `url()` 2024-10-16 19:24:48 +03:00
alexander.akait afcf3bb8b1 feat(css): basic support for `image-set()` 2024-10-16 18:11:58 +03:00
alexander.akait 60c32d895e feat(css): basic support for `@import` 2024-10-16 17:57:45 +03:00
alexander.akait 5832888320 feat(css): implemented basic logic 2024-10-16 17:42:26 +03:00
alexander.akait d763634b9d fix: parsing comments 2024-10-16 16:22:42 +03:00
alexander.akait 6d7b769f2f fix(css): more 2024-10-16 06:04:30 +03:00
alexander.akait 1ff9185ad3 fix(css): urls parsing 2024-10-16 05:33:52 +03:00
Alexander Akait b81de39316
fix(css): nesting in css modules 2024-10-15 21:23:38 +03:00
alexander.akait 7f47cad728 fix(css): nesting in css modules 2024-10-15 20:53:58 +03:00
Alexander Akait 5956daa300
chore: udpate dependencies 2024-10-15 16:21:51 +03:00
ScriptedAlchemy eab8815c05 chore: apply hoist plugin 2024-10-14 15:07:57 -07:00
Zack Jackson aae2519634
Merge branch 'webpack:main' into hoist-container-refs 2024-10-14 14:47:31 -07:00
Alexander Akait c801ebb253
fix: use optimistically logic for `output.environment.dynamicImport` to determine chunk format 2024-10-14 22:13:22 +03:00
Alexander Akait 18d6cb5afe
fix: collision with global variables for `avoidEntryIife` 2024-10-14 18:04:29 +03:00
Nitin Kumar eba41c692c chore: udpate dependencies 2024-10-14 08:32:08 +05:30
alexander.akait 291ebf8287 fix: logic 2024-10-13 21:53:22 +03:00
alexander.akait 5775d1fdf8 feat(css): always interpolate classes even if they are not involved in export 2024-10-13 21:06:01 +03:00
alexander.akait 5759a4af5a feat(css): `src()` support 2024-10-13 20:27:38 +03:00
alexander.akait e66f14fa1f fix(css): no extra runtime for node target 2024-10-13 19:46:16 +03:00
Alexander Akait 644d8170a0
fix(css): avoid extra runtime for assets modules 2024-10-13 16:20:29 +03:00
alexander.akait 8c43febb2f fix: logic for assets 2024-10-12 20:49:07 +03:00
alexander.akait 0ba37443e6 fix: logic for asset/source 2024-10-12 17:04:12 +03:00
alexander.akait a7e5e6a02b fix: logic for asset/source 2024-10-12 15:22:36 +03:00
alexander.akait 5ad5c12ffe fix: data URI logic 2024-10-12 14:23:36 +03:00
alexander.akait d942ec64d3 fix: cache logic 2024-10-12 14:14:48 +03:00
alexander.akait 7d888ffe1d fix: logic 2024-10-12 13:45:07 +03:00
alexander.akait 6313616448 fix: external 2024-10-12 13:32:19 +03:00
alexander.akait 737c16cb11 fix: logic 2024-10-12 13:25:10 +03:00
Nitin Kumar f8690def6a fix: use `needs` in message to mach with documentation 2024-10-12 14:08:03 +05:30
Nitin Kumar 1e95fcb80f fix: use `needs` in message to mach with documentation 2024-10-12 14:04:53 +05:30
fi3ework bb10e4b5f0 fix: should avoid through variables in inlined module 2024-10-12 02:27:08 +08:00
alexander.akait df669cacca fix: logic 2024-10-11 18:08:56 +03:00
alexander.akait 3bc531bf52 fix: logic 2024-10-11 17:47:32 +03:00
alexander.akait 485f3d6758 fix(css): avoid extra runtime for assets modules 2024-10-11 17:24:53 +03:00
alexander.akait 5a3ce4e0d7 fix: logic 2024-10-10 18:37:04 +03:00
Nitin Kumar 4da89eddfd feat: allow template strings in `devtoolNamespace` 2024-10-10 18:11:58 +03:00
ScriptedAlchemy 5b6e2e3097 refactor: remove runtime chunk collector 2024-10-09 13:16:17 -07:00
ScriptedAlchemy 49a9968813 tests: add test case 2024-10-09 13:13:04 -07:00
alexander.akait db4a23ee9e style: fix 2024-10-09 13:13:04 -07:00
alexander.akait ddd92aba5d test: fix 2024-10-09 13:13:04 -07:00
ScriptedAlchemy 755bf161bc tests: add test case 2024-10-09 13:13:04 -07:00
ScriptedAlchemy af922431d2 chore: address comments 2024-10-09 13:13:04 -07:00
ScriptedAlchemy d0bfad35ae fix: rename hooks to be correct 2024-10-09 13:13:04 -07:00
Zack Jackson 07670cf9e8 Update ModuleFederationPlugin.js 2024-10-09 13:13:04 -07:00
ScriptedAlchemy 80a6b339c9 chore: add container hoisting plugin 2024-10-09 13:13:03 -07:00
ScriptedAlchemy 11f5b59ab2 fix: Container Reference Hoisting 2024-10-09 13:13:03 -07:00
alexander.akait f7b4db8f9b fix: emit a warning on broken `:local` and `:global` 2024-10-09 20:36:48 +03:00
alexander.akait 56e525bc15 fix: CSS Modules bugs 2024-10-09 13:22:06 +03:00
alexander.akait 30ccd1baa9 refactor: code 2024-10-09 13:22:04 +03:00
alexander.akait 94fa19ad68 refactor: code 2024-10-09 13:21:57 +03:00
alexander.akait 7fd36f908e refactor: code 2024-10-09 13:21:57 +03:00
alexander.akait 8dc4fabb69 fix: parsing bad urls 2024-10-09 08:39:40 +03:00
Alexander Akait b4924e0b37
refactor: css tokenizer accoring spec 2024-10-09 01:55:41 +03:00
alexander.akait 91fe52958c refactor: css 2024-10-09 01:09:16 +03:00
Alexander Akait 94feb93752
fix: `css/auto` considers a module depending on its filename as `css` (pure CSS) or `css/local` 2024-10-08 16:52:23 +03:00
alexander.akait 53fb6c9e8a test: fix 2024-10-04 19:32:45 +03:00
alexander.akait 675a6c02e6 fix: `css/auto` considers a module depending on its filename as `css` (pure CSS) or `css/local` 2024-10-04 18:19:57 +03:00
alexander.akait 9192eefa6c test: fix 2024-10-04 17:37:20 +03:00
alexander.akait d01ed0002a refactor: code 2024-10-04 17:22:04 +03:00
alexander.akait 9ad073028e fix: avoid extra runtime for get javascript/css chunk filename 2024-10-04 16:55:48 +03:00
alexander.akait 1a63020998 fix: avoid extra `prefetch` and `preload` JS runtime for CSS 2024-10-03 20:03:55 +03:00
alexander.akait c5edbaa399 fix: avoid extra runtime code for CSS 2024-10-02 19:05:39 +03:00
alexander.akait e9b92650cd fix: types 2024-10-02 04:21:28 +03:00
alexander.akait 4a3974da3f fix: use `module` chunk format as a fallback when `environment.dynamicImport` is optimistically supported 2024-10-02 01:16:52 +03:00
alexander.akait e60cff554a fix: types 2024-10-02 00:29:48 +03:00
alexander.akait 636b5c5dba fix: types 2024-10-02 00:18:10 +03:00
alexander.akait b3f89a33c8 fix: types 2024-09-30 22:05:27 +03:00
Alexander Akait b05a325dd1
fix: avoid cache invalidation using `ProgressPlugin` 2024-09-26 22:38:21 +03:00
alexander.akait 13dc07e996 test: added 2024-09-26 21:38:33 +03:00
alexander.akait c5eccb21ca fix: avoid cache invalidation using `ProgressPlugin` and `importModule` 2024-09-26 19:31:30 +03:00
alexander.akait a8dde9aa49 fix: increase parallelism when using `importModule` on the execution stage 2024-09-25 20:34:39 +03:00
alexander.akait c59a232de5 fix: correctly parsing `string` export and import 2024-09-25 19:02:23 +03:00
Alexander Akait 4866b0daf1
feat: added new `optimization.entryIife` option 2024-09-25 16:58:02 +03:00
Alexander Akait d90f6920f0
fix: merge duplicate chunks after split chunks 2024-09-25 16:32:53 +03:00
fi3ework c1a0a4666e fix(externals): distinguish “module” and “import” in “module-import” 2024-09-24 23:49:02 +08:00
Alexander Akait dae16ad11e
feat: pass output.hash* options to loader context 2024-09-20 17:38:27 +03:00
alexander.akait 75d185d27e feat: pass `output.hash*` options to loader context 2024-09-20 16:56:45 +03:00
alexander.akait 7fa2d12eb3 refactor: code 2024-09-20 15:52:48 +03:00
alexander.akait 0011ec130a refactor: code 2024-09-20 15:49:36 +03:00
alexander.akait 9414c40a17 fix: use content hash as `[base]` and `[name]` for extracted DataURI's 2024-09-20 14:23:38 +03:00
fi3ework 8354f16073 update pr 2024-09-20 00:24:31 +08:00
fi3ework 7bc06a3295 feat: add new optimization.entryIife config 2024-09-19 01:20:47 +08:00
alexander.akait 813058f3d8 fix: generate code correctly for dynamically importing the same file twice and destructuring 2024-09-10 22:52:10 +03:00
alexander.akait bbc2ea7516 fix: types for ts5.6 2024-09-10 21:32:49 +03:00
Mikhail Shipov 1b217a6d94 fix: add extra merge duplicates call after split chunks 2024-09-10 13:58:08 +03:00
Alexander Akait 80156db07e
fix: handle default for import context element dependency 2024-09-06 18:24:32 +03:00
jserfeng c2b9407c14 fix: decide processBlock by input block 2024-09-04 17:40:45 +08:00
ahabhgk b71ba80518 lint 2024-09-04 15:12:06 +08:00
ahabhgk 860eb4aa0b fix: handle default for import context element dependency 2024-09-04 15:03:38 +08:00
Alexander Akait 27cf3e59f5
revert: always add semicolon in concaten module and tweak 2024-09-03 15:33:28 +03:00
Alexander Akait c86ab4713f
fix: make EnvironmentPlugin defaultValues types less strict 2024-09-03 14:57:02 +03:00
jserfeng 2e994c848b perf(buildChunkGraph): avoid unneeded re-visit 2024-09-03 16:55:47 +08:00
Roman Gusev c5e197aa67 fix: add type hints 2024-08-28 00:37:17 +02:00
Roman Gusev d2c7a708d7 docs: update JSDoc types 2024-08-28 00:10:31 +02:00
fi3ework 4c35aa7eeb fix: always add semicolon in concaten module and tweak 2024-08-28 02:12:35 +08:00
fi3ework 362935e340 fix: ASI in concatenated module only when necessary 2024-08-27 00:22:25 +08:00
Alexander Akait 09543e7d8e
fix: hanging when attempting to read a symlink-like file that it can't read 2024-08-22 19:12:42 +03:00