Commit Graph

8122 Commits

Author SHA1 Message Date
alexander.akait 0e4d1f6234 fix: normalize `snapshot.unmanagedPaths` 2024-03-11 15:00:50 +03:00
alexander.akait 3a70d69de7 fix: types more 2024-03-06 16:40:12 +03:00
Alexander Akait 6842c9a2c9
fead: use LZW to compress css head meta in the production mode 2024-03-06 15:20:56 +03:00
ahabhgk 074fccb38b feat: add css head data compression 2024-03-06 14:29:57 +08:00
alexander.akait 44b4f96e2b refactor: code 2024-03-05 17:40:46 +03:00
alexander.akait b23130013c fix: `fs` types 2024-03-05 16:37:51 +03:00
alexander.akait f59cd9cad8 fix: types 2024-03-04 18:18:00 +03:00
alexander.akait 168dbc3a10 style: fix 2024-03-04 17:48:21 +03:00
alexander.akait 3eedbcb1b4 fix: allow `unsafeCache` to be a proxied object 2024-03-04 17:40:12 +03:00
ahabhgk c8e9b0f49c fix: use LZW to compress css head meta 2024-03-01 17:15:42 +08:00
alexander.akait d1353e1318 style: fix 2024-02-29 10:15:14 +03:00
alexander.akait cf62464926 style: fix 2024-02-28 18:23:23 +03:00
alexander.akait 1b1c8a4a6a fix: deserializer for ignored modules 2024-02-28 18:08:34 +03:00
Alexander Akait e6b75fa2cd
fix: support `fetchPriority` for CSS chunks 2024-02-28 15:39:58 +03:00
Alexander Akait f5ec8a881f
docs: add documentation for stacked cache map 2024-02-28 14:21:59 +03:00
alexander.akait 590f8f969d fix: support `fetchPriority` for CSS chunks 2024-02-27 21:39:58 +03:00
alexander.akait 84d6c0c070 refactor: add TODO 2024-02-27 20:29:46 +03:00
alexander.akait 9c2bf0c52e fix: support `__webpack_nonce__` for CSS chunks 2024-02-27 20:27:45 +03:00
tthijm e20205c724 chore: fix RegExp string 2024-02-27 17:05:14 +01:00
tthijm 927734fa26 chore: change globToRegex to RegExp 2024-02-27 16:19:53 +01:00
Alexander Akait 5c2abc3734
feat(css): support css local ident name 2024-02-27 15:19:26 +03:00
tthijm 704f0f4134 chore: replace hardcoded regexp 2024-02-27 12:14:15 +01:00
ahabhgk cadae063fa add test and fix node10 2024-02-23 19:40:33 +08:00
Alexander Akait 611bded369
fix: types 2024-02-22 17:58:30 +03:00
alexander.akait caea8131b3 fix: types 2024-02-22 17:36:36 +03:00
alexander.akait 6ab9bdaa73 fix: types 2024-02-22 17:20:17 +03:00
Hai f9ea6a22d2 Remove duplicate assign to _otherExportsInfo.canMangleUse 2024-02-22 21:23:25 +08:00
ahabhgk d4dc533fc3 feat: support css local ident name 2024-02-22 20:10:45 +08:00
alexander.akait a1f46a9ac3 fix: types 2024-02-21 17:55:02 +03:00
alexander.akait 6cd0ddbf26 fix: types 2024-02-21 17:05:29 +03:00
ahabhgk f892acf0a2 use dashes case 2024-02-21 19:51:03 +08:00
ahabhgk 47ce233333 add test 2024-02-21 18:34:40 +08:00
ahabhgk d4a5766bbe feat: support css exports convention 2024-02-21 16:00:24 +08:00
Viktor Szépe 10014b85d4 Fix typos 2024-02-19 16:46:07 +00:00
Alexander Akait c8d4b5e29c
fix: more types 2024-02-19 15:27:07 +03:00
Alexander Akait 5b9f6e4039
perf: simplify and optimize chunk graph creation 2024-02-19 15:19:03 +03:00
alexander.akait 1addd26691 refactor: more types 2024-02-19 15:13:36 +03:00
Alexander Akait 65d547f51a
fix: should not mangle when destructuring a reexport 2024-02-19 15:08:08 +03:00
ahabhgk 2360e3a623 fix: clean up export css local vars 2024-02-18 20:53:14 +08:00
ahabhgk fc7b34d8f0 fix: should not mangle when destructuring a reexport 2024-02-18 17:10:32 +08:00
bohan 513a6f9157 cleanup unnecessary return 2024-02-18 14:00:45 +08:00
David Michon 780f891404 (perf) Simplify and optimize chunk graph creation 2024-02-16 17:01:38 -08:00
alexander.akait 2732c57143 refactor: more types 2024-02-16 21:03:51 +03:00
alexander.akait 1643e5b1a9 refactor: more types 2024-02-16 20:51:18 +03:00
alexander.akait 9f63f7013a refactor: more types 2024-02-16 20:39:12 +03:00
alexander.akait 3e0b1b7528 fix: types for `Stats.toJson()` and `Stats.toString()` 2024-02-16 15:47:38 +03:00
alexander.akait 55ebdbdb75 fix: improve auto publicPath detection 2024-02-15 16:09:59 +03:00
alexander.akait f06427a1a5 fix: make dynamic import optional in try/catch 2024-02-14 16:35:12 +03:00
Alexander Akait a2ce375d96
fix: use new runtime to reconsider skipped connections activeState 2024-02-12 13:37:05 +03:00
ahabhgk e094bf399f fix: should use new runtime to reconsider skipped connections 2024-02-09 13:05:32 +08:00
ahabhgk 69127aed6e add test 2024-02-06 17:49:47 +08:00
ahabhgk 213290ea65 fix: not mangle export with destructuring 2024-02-06 17:47:11 +08:00
ahabhgk 052e1c9502 fix: __webpack_exports_info.xxx.canMangle should not always same as default 2024-02-06 16:19:56 +08:00
Alexander Akait f47806682c
fix: The `setStatus()` of the HMR module should not return an array, which may cause infinite recursion 2024-02-05 18:47:54 +03:00
David Michon e07a9c91d8 (chore) Update comment 2024-02-01 12:46:58 -08:00
David Michon 23c04cbc7d Use Math.imul in fnv1a32, operate directly on UTF-16 2024-02-01 11:23:05 -08:00
Alexander Akait c6e8b70118
perf: reuse VM context across webpack magic comments 2024-02-01 19:14:33 +03:00
Alexander Akait cc6a6284e1
fix: browsers versions of ECMA features 2024-02-01 18:14:21 +03:00
David Michon fbf92fe522 Reuse VM context across webpack magic comments 2024-01-31 18:27:28 -08:00
David Michon cd6d64e511 Adjust threshold 2024-01-31 16:20:27 -08:00
David Michon a5f96ee77c Optimize numberHash using 32-bit FNV1a 2024-01-31 16:11:35 -08:00
alexander.akait e493fc7c00 fix: more for other features 2024-01-31 16:15:13 +03:00
alexander.akait b66ae5874d fix: async function support in browserslist 2024-01-31 15:45:32 +03:00
Alexander Akait b9fb99c63c
fix: correct preOrderIndex and postOrderIndex 2024-01-30 20:22:49 +03:00
Alexander Akait ce537e98bb
fix: add fallback for MIME mismatch error in async wasm loading 2024-01-30 18:08:42 +03:00
Alexander Akait d99434a492
perf: optimize compareStringsNumeric 2024-01-30 16:40:42 +03:00
magic-akari 3dbbe2fe1b
fix: handle instantiateStreaming resolved branch 2024-01-30 20:06:52 +08:00
Alexander Akait c7fc02e857
refactor(types): more 2024-01-30 14:08:51 +03:00
David Michon 2cd85a22ac Optimize compareStringsNumeric 2024-01-29 16:45:02 -08:00
magic-akari adfd4000c7
fix: add fallback for MIME mismatch error in async wasm loading 2024-01-27 13:09:32 +08:00
alexander.akait ca2fe13c8a chore(types): more 2024-01-26 20:38:18 +03:00
jserfeng fc33aaf9a8 fix: correct preOrderIndex and postOrderIndex 2024-01-27 00:21:19 +08:00
alexander.akait 3295f6c36f chore(types): more 2024-01-26 19:17:45 +03:00
alexander.akait 1c4bcfa36c chore(types): more 2024-01-26 17:53:40 +03:00
alexander.akait 89bea025a7 chore(types): improve 2024-01-26 16:15:24 +03:00
alexander.akait 4c6f90b276 fix: set `unmanagedPaths` in defaults 2024-01-24 16:16:30 +03:00
alexander.akait 28948dd1d1 fix: inner graph 2024-01-24 14:04:06 +03:00
alexander.akait 5a9ed6dc8b fix: inner graph 2024-01-24 13:05:09 +03:00
alexander.akait c8d9d979fb fix: inner graph for classes 2024-01-23 21:42:56 +03:00
alexander.akait 3022995f10 fix: inner graph for classes 2024-01-23 21:28:43 +03:00
Alexander Akait f857674e6b
fix: worklet detection in production mode 2024-01-23 19:21:55 +03:00
Alexander Akait 2d6f5fa789
feat: allow to set `false` for dev server 2024-01-23 18:08:40 +03:00
alexander.akait 413eb126dc fix: worklet detection in production mode 2024-01-23 17:42:10 +03:00
Alexander Akait 81623b6f4e
perf: optimize RemoveParentModulesPlugin via bigint arithmetic 2024-01-23 15:42:53 +03:00
Alexander Akait b295fd3c15
fix: css import prefer relative resolution 2024-01-23 15:39:54 +03:00
ahabhgk fb2ca7cf28 fix: css-import should apply preferRelative 2024-01-23 19:04:35 +08:00
ahabhgk b3ea5201a5 fix 2024-01-23 18:07:58 +08:00
ahabhgk de0e5987d4 fix: error for cyclic importModule 2024-01-23 17:32:50 +08:00
David Michon a4e994b12a Remove lib directive 2024-01-22 17:29:52 -08:00
David Michon fd4c36dab2 Remove wrapper objects 2024-01-22 17:12:47 -08:00
David Michon b187e2f515 Optimize RemoveParentModulePlugin via bigint arithmetic 2024-01-22 17:03:07 -08:00
alexander.akait 03ee59a4c5 feat: allow to disable dev server 2024-01-20 20:47:35 +03:00
Alexander Akait b1826ac07b
fix: add warning for async external 2024-01-20 20:38:13 +03:00
ahabhgk 26e0710b9b fix targets 2024-01-17 15:26:32 +08:00
ahabhgk ecd16a35ad lint 2024-01-16 10:31:20 +08:00
ahabhgk b19c422925 fix: add warning for async external 2024-01-16 10:25:30 +08:00
ahabhgk 92b33021ff feat: css named exports parser options 2024-01-16 00:23:07 +08:00
Alexander Akait 0781eac69c
feat: add warning for async module when not supported 2024-01-15 17:21:20 +03:00
ahabhgk 20c16c3c04 fix 2024-01-14 22:37:32 +08:00
ahabhgk a55f34349a feat: add warning for asyncModule 2024-01-14 18:11:12 +08:00