Commit Graph

8737 Commits

Author SHA1 Message Date
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
alexander.akait ade5e4313f refactor: logic 2024-08-22 18:31:35 +03:00
Alexander Akait 955e057abc
security: fix DOM clobbering in auto public path 2024-08-22 15:05:07 +03:00
alexander.akait 2411661bd1 security: fix DOM clobbering in auto public path 2024-08-21 15:47:34 +03:00
Hana b8c03d4772
fix: unexpected asi generation with sequence expression 2024-08-21 16:32:04 +08:00
fi3ework 60f189871a fix: do not use heuristic fallback for "module-import" 2024-08-20 13:57:40 +08:00
fi3ework 66306aa456 Revert "fix: module-import get fallback from externalsPresets"
This reverts commit c951c982e3.
2024-08-19 19:50:35 +08:00
Ahmed Fasih 83c205745c fix: make lstatReadlinkAbsolute work when readlink fails 2024-08-15 22:34:18 -07:00
inottn 420cb39bdd fix: handle ASI for export declaration 2024-08-15 20:32:58 +08:00
Alexander Akait 844fe4b2fa
fix: ts types 2024-08-15 14:14:16 +03:00
alexander.akait a2b0f9bac0 fix: ts types 2024-08-14 21:38:08 +03:00
Alexander Akait 46cee28719
feat: support `webpackIgnore` for `new URL()` construction 2024-08-14 19:18:42 +03:00
Alexander Akait 71ce863569
fix: mangle destruction incorrect with export named default 2024-08-14 19:14:31 +03:00
alexander.akait 5cdd031fb6 feat: support `webpackIgnore` for `new URL()` construction 2024-08-14 16:58:10 +03:00
jserfeng 0d856a3553 fix: mangle destruction incorrect with export named default 2024-08-14 21:38:14 +08:00
Alexander Akait cb6ffaf38f
fix: handle ASI for export named declarations 2024-08-14 15:11:23 +03:00
Alexander Akait 62f4c687a6
refactor: module-import get fallback from externalsPresets 2024-08-14 15:10:51 +03:00
alexander.akait d28b92c80c fix: handle ASI for export named declarations 2024-08-14 14:47:21 +03:00
alexander.akait 3c675c5510 refactor: fix logic 2024-08-13 19:09:15 +03:00
alexander.akait f7fd4ae43a fix: `related` in asset stats is now always an array 2024-08-13 18:13:07 +03:00
fi3ework c951c982e3 fix: module-import get fallback from externalsPresets 2024-08-13 12:10:06 +08:00
alexander.akait 856f3a4bfb refactor: rebase 2024-08-12 17:12:05 +03:00
Alexander Akait d8b869fa92
Merge branch 'main' into feat/at_import_pathinfo_support 2024-08-12 17:08:27 +03:00
alexander.akait 7298d19d4a refactor: logic 2024-08-12 16:53:44 +03:00
faga fe51e3e48b feat: at_import pathinfo support 2024-08-12 02:17:52 +08:00
alexander.akait 0a76fa02d3 fix: types 2024-08-09 18:42:37 +03:00
alexander.akait 7fd8ffb271 fix: types 2024-08-08 20:03:17 +03:00
alexander.akait 1805436d3b fix: types 2024-08-07 21:59:26 +03:00
alexander.akait ff9e19809a fix: types 2024-08-07 19:14:54 +03:00
Alexander Akait 13560eac2e
fix: a lot of types 2024-08-06 18:38:15 +03:00
alexander.akait c6d1d15c83 test: fix tests 2024-08-06 17:49:07 +03:00
alexander.akait 98b3febf5e test: fix unit tests 2024-08-06 17:14:33 +03:00
alexander.akait adf2a6b7c6 fix: a lot of types 2024-08-06 06:08:48 +03:00
fi3ework 93aff0ca62 cr update 2024-08-05 23:13:57 +08:00
fi3ework c783012d91 rebase 2024-08-05 17:11:10 +08:00
fi3ework f22a965abd refactor: clean code 2024-08-05 17:04:47 +08:00
fi3ework 1d07f1fa95 refactor 2024-08-05 17:04:46 +08:00
alexander.akait 406ec4f7a8 refactor: simplify logic 2024-08-05 17:03:10 +08:00
fi3ework ce24bb03c2 feat: add new external type "module-import" 2024-08-05 17:03:09 +08:00
Alexander Akait 4047985205
fix: make `bigint` support optimistic when browserslist not found 2024-08-02 20:39:05 +03:00
alexander.akait eaab7e742c fix: skip `globalThis` 2024-08-02 20:20:10 +03:00
Alexander Akait 1ff2ba9a3d
fix: handle properly `data`/`http`/`https` protocols in source maps 2024-08-02 20:15:41 +03:00
alexander.akait c6c45f3313 refactor: code 2024-08-02 19:32:33 +03:00
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait b84d7956b5 refactor: code 2024-08-02 19:32:29 +03:00
alexander.akait c2b38a6bd6 refactor: improve code 2024-08-02 19:32:29 +03:00
alexander.akait 40151be78e refactor: improve code 2024-08-02 19:32:29 +03:00
alexander.akait 1fe55ac7b5 refactor: improve code 2024-08-02 19:32:27 +03:00
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 9e2ead389c fix: logic 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 a260df0fff chore: fix prettier 2024-07-30 17:21:50 +03:00
alexander.akait 4ee703f647 chore: improve jsdoc rules 2024-07-30 17:07:14 +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
Ron Buckton 24ba2ba5e3 Fix formatting 2024-07-17 22:58:07 +00:00
Ron Buckton 836f6f63f7 Support strictBuiltinIteratorReturn 2024-07-17 22:47:45 +00: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 080e54fcf1 fix: relative path to runtime chunks 2024-07-11 18:15:25 +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
ahabhgk 05c0d8270c fix cr 2024-07-10 12:45:14 +08: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 9c9cb0bcdd feat: override strict for javascript module 2024-07-03 16:32:36 +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 e38e2bc31b
fix: mangle destructuring default in namespace import 2024-06-21 16:45:48 +03:00
ahabhgk 6011f18b13 improve perf 2024-06-21 21:23:49 +08:00
ahabhgk cfd6049ff6 fix: mangle destructuring default in namespace import 2024-06-21 21:01:17 +08:00
Sushruth Sastry 7c6033afb6 fix: Fixes #18519 - makes DefinePlugin quieter under default log level 2024-06-20 10:21:29 -07: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 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
fi3ework 86336d9894 fix: lint 2024-06-19 14:15:14 +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
Titouan Mathis 23be8db004
fix: error with contenthash and css experiment
fix #18511
2024-06-18 15:11:04 +02:00
Arcanox e3763db6a7 Remove check for module type when looking for "binary" override so that non-asset modules may use the option later 2024-06-11 14:27:45 -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 a8866644d7 fix: make bigint and globalThis optimistic 2024-06-11 17:55:33 +03:00
alexander.akait 9d899d41c9 chore: small fixes 2024-06-11 16:53:23 +03:00
alexander.akait de6d4b2f4c style: fix 2024-06-11 16:30:09 +03:00
alexander.akait 1954237716 chore: fix lint and types 2024-06-11 16:26:12 +03:00