Commit Graph

8579 Commits

Author SHA1 Message Date
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