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
Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
alexander.akait
8273948d9d
chore: improve eslint configuration
2024-01-13 16:35:31 +03:00
Alexander Akait
b75845f71a
fix: keep `extends` in inner graph when class has constructor
2024-01-12 19:16:10 +03:00
ahabhgk
2715265126
wip
2024-01-12 15:57:52 +08:00
alexander.akait
9228d78eec
fix: types
2024-01-11 20:31:31 +03:00
alexander.akait
4152899d55
fix: don't optimize `extends` when class has constructor
2024-01-11 20:30:00 +03:00
alexander.akait
228b903a58
chore: update `assemblyscript`
2024-01-11 18:25:31 +03:00
alexander.akait
81bd9b4e00
fix: css runtime chunk loading error
2024-01-10 18:43:19 +03:00
Alexander Akait
21e5a16d40
fix: add `fetchPriority` to hmr runtime's `ensureChunk` function
2024-01-10 17:56:16 +03:00
Alexander Akait
f1b0bd5b55
feat: add the `node-module` option for the `node.__filename/__dirname` and enable it by default for ESM target
2024-01-10 14:56:27 +03:00
Evans Hauser
f1ad56feec
add fetchPriority to hmr runtime
2024-01-09 15:28:19 -08:00
Alexander Yamakin
ce6b0618ff
Merge branch 'main' into feature-14072
2024-01-09 02:59:32 +03:00
alexander.akait
f11815235d
fix: don't warn about dynamic import for build dependencies
2024-01-05 18:18:42 +03:00
Alexander Akait
228fc69f40
fix: external module generation respects the `output.environment.arrowFunction` option
2024-01-04 17:42:32 +03:00
Alexander Akait
39bbfbfbb1
feat: support for unmanaged paths
2024-01-04 16:07:29 +03:00
Alexander Akait
34c3fba92c
fix: consume shared runtime module logic
2024-01-04 16:05:31 +03:00
Alexander Akait
c1b45d5d80
fix: runtime logic
2024-01-04 15:47:05 +03:00
Alexander Akait
000ff0bc41
refactor: getRequiredVersionFromDescriptionFile in utils.js
2024-01-04 15:34:40 +03:00
versole
ca4f3235ba
fix: external module hard code arrow function
2024-01-02 11:27:18 +08:00
Alexander Akait
42fd09609a
fix: miss passing errors array for module hash
2023-12-29 19:57:29 +03:00
Alexander Akait
4d9152bed7
fix: destructing assignment of dynamic import json file
2023-12-29 19:50:46 +03:00
Alexander Akait
48a9eccea0
fix: `importScripts` typo
2023-12-29 19:44:30 +03:00
Alexander Akait
4d80333a6f
fix: add `/*#__PURE__*/` to generated JSON.parse()
2023-12-29 19:43:31 +03:00
Alexander Akait
f11d739a8d
fix: generate a library manifest file after clean
2023-12-29 19:31:24 +03:00
alexander.akait
57998941de
fix: generate library manifest after clean plugin
2023-12-29 18:17:27 +03:00
Alexander Akait
b6226aa5c5
fix: non amd externals break amd library
2023-12-28 21:03:07 +03:00
Alexander Akait
c7d1fe5329
fix: bug in `SideEffectsFlagPlugin` with namespace re-exports
2023-12-28 20:32:41 +03:00
Alexander Akait
e0d7e68f84
fix: error message for condition `or`
2023-12-28 20:29:52 +03:00
Alexander Akait
625aa9a1f5
fix: strictModuleErrorHandling is now working
2023-12-28 20:26:49 +03:00
Alexander Akait
89bc223821
refactor: minimize redundant `Template.toIdentifier` calls
2023-12-28 20:23:53 +03:00
Alexander Akait
e32ba51b31
fix: clean up child compilation chunk graph to avoid memory leak
2023-12-28 19:37:18 +03:00
Alexander Akait
762297ed8c
feat: expose `MultiCompilerOptions`
2023-12-28 19:35:53 +03:00
Alexander Akait
e311aedfbb
fix: typo in an error message for the top-level-await experiment
2023-12-28 17:54:19 +03:00
Alexander Akait
ea3d248c99
feat: expose `OptimizationStages`
2023-12-28 16:33:35 +03:00
Joe Boyle
ec80d13617
clean up modules as well
2023-12-07 21:45:04 -05:00
Joe Boyle
0f517fd125
Clean up child compilation chunk graph
...
This commit addresses https://github.com/webpack/webpack/issues/17851 ,
cleaning up child compilation chunk graph which includes references
to the compiler and parent compiler, causing a memory leak.
2023-12-06 23:08:05 -05:00
ahabhgk
b94741d870
fix: strictModuleErrorHandling not exist on output options
2023-12-04 19:52:44 +08:00
bohan
9d79d623ac
minimize redundant `Template.toIdentifier` calls
2023-10-31 18:01:25 +08:00
Sayan751
7d8799ac4b
added unmanagedPaths to snapshot options
2023-10-04 23:28:11 +02:00
Ben Worline
b14922c5be
Refactor shared code
2023-10-02 10:28:43 -07:00
Ben Worline
d4e8485462
initial
2023-09-30 22:13:01 -07:00
Sayan751
2972f97eb6
feat: support for un-managed snapshot path
2023-09-27 22:17:11 +02:00
ahabhgk
ffbaf20bca
fix: error message for condition or
2023-09-19 11:48:22 +08:00
Ronak Jain
23561c5ef5
Expose OptimizationStages
2023-09-12 08:47:22 +05:30
Ronak Jain
53b296849e
Add MultiCompilerOptions
2023-09-12 08:37:58 +05:30
Felipe Plets
02bddf66ac
chore: apply linting rules and improve docs
2023-09-09 13:40:18 -04:00
Felipe Plets
a6618bde3c
chore: refactor getRequiredVersionFromDescriptionFile in utils.js
2023-09-09 13:27:12 -04:00
Tan Li Hau
e5e66ef1bf
fix: miss passing errors array
2023-08-28 16:12:33 +08:00
Naru
2053d2d4a4
fix: add /*#__PURE__*/ to generated JSON.parse() call in JsonGenerator
2023-08-26 19:20:19 +09:00
Marcin Ciarka
f2bc0db07f
fix typo
2023-08-24 13:55:23 +03:00
Peter Goldberg
d22c6f3bf6
origin module must always be optimized first, even for unnamed re-exports
2023-08-21 00:41:23 -04:00
Peter Goldberg
47564af25a
tweak
2023-08-21 00:41:23 -04:00
Peter Goldberg
c0fde48909
fix bug in `SideEffectsFlagPlugin` with namespace re-exports
2023-08-21 00:41:22 -04:00
System233
b0defaed4a
fix lint
2023-08-02 13:46:39 +08:00
System233
d293083026
Fix: HMR setStatus() should not return an array.
2023-08-02 12:36:56 +08:00
ahabhgk
19028dcadc
fix: non amd externals
2023-07-06 20:33:30 +08:00
Diogo Peres
4e8f3f6075
fix importScripts typo
2023-07-03 10:57:21 +01:00
Burhanuddin Udaipurwala
a9cbd06ab4
fix: unusued identifiers should retain names
2023-07-02 11:03:03 +05:30
ahabhgk
182f913f9b
fix: destructing assignment of dynamic import json file
2023-06-23 15:19:15 +08:00
alexander.akait
158e0441e7
refactor(types): more
2023-06-22 04:08:40 +03:00
alexander.akait
3092f7cb20
refactor(types): more
2023-06-22 03:59:10 +03:00
alexander.akait
cc734af66e
refactor(types): more
2023-06-22 02:45:07 +03:00
Burhanuddin Udaipurwala
e90c26754c
docs: further improve docs
2023-06-21 21:39:01 +05:30
Burhanuddin Udaipurwala
7f75426ea2
docs: add example usage
2023-06-21 21:35:39 +05:30
alexander.akait
cff406cc54
refactor(types): more
2023-06-21 19:01:55 +03:00
alexander.akait
3f71468514
refactor(types): more
2023-06-21 19:01:55 +03:00
alexander.akait
d9d64b5198
refactor(types): more
2023-06-21 19:01:53 +03:00
alexander.akait
e226101c55
refactor(types): more
2023-06-21 19:00:24 +03:00
alexander.akait
a911bd9fa1
refactor(types): more
2023-06-21 19:00:24 +03:00
alexander.akait
e381884115
refactor(types): more
2023-06-21 19:00:24 +03:00
alexander.akait
4809421990
refactor(types): more
2023-06-21 19:00:24 +03:00
Burhanuddin Udaipurwala
5da3dc1102
docs: add documentation for stacked cache map
2023-06-21 21:27:19 +05:30
Sean Larkin
1ab7cad9a3
Merge pull request #17393 from ahabhgk/fix-async-module
...
fix: async module runtime for won't run top-level-await
2023-06-21 08:39:33 -07:00
Sean Larkin
43c1958ba7
Merge pull request #17395 from steverep/update-kaios-browser
...
fix: update environment support for KaiOS browser
2023-06-21 08:37:47 -07:00
Sean Larkin
76076f6f34
Merge pull request #17397 from webpack/issue-17390
...
fix: indirect call for tagged template expressions
2023-06-21 08:35:20 -07:00
Sean Larkin
da76b19bf4
Merge pull request #17399 from burhanuday/feat/auto-css-modes
...
feat: use css/auto as the default css mode
2023-06-21 08:32:24 -07:00
alexander.akait
5a49b861dc
fix: runtime for CSS loading
2023-06-21 12:43:08 +03:00
alexander.akait
f778bde634
fix: bug with css/auto
2023-06-20 23:40:47 +03:00
alexander.akait
694aee940d
test: prefer relative
2023-06-20 23:03:02 +03:00
Burhanuddin Udaipurwala
d2bc40cf73
feat: update regex to match valid css file names
2023-06-19 21:36:01 +05:30
Burhanuddin Udaipurwala
1d69cffbbe
refactor: rewrite defaults
2023-06-19 08:59:24 +05:30
Burhanuddin Udaipurwala
d06b22d9b4
feat: use css/auto as default css type
2023-06-18 21:51:48 +05:30
alexander.akait
75151416ca
fix: indirect call to tagged template expression
2023-06-17 22:54:17 +03:00
Steve Repsher
eb106afd8f
fix: update environment support for KaiOS browser
2023-06-17 00:18:08 -04:00
ahabhgk
148c136e07
fix: test
2023-06-16 23:04:57 +08:00
ahabhgk
c90f2b35f6
fix: forgot .d
2023-06-16 22:52:27 +08:00
ahabhgk
6e62cf40cf
fix: tla for await won't run
2023-06-16 20:39:13 +08:00
alexander.akait
bf28e94eac
test: update
2023-06-15 20:56:55 +03:00
alexander.akait
17211ffa4e
fix: require.context and layer
2023-06-15 19:48:55 +03:00
alexander.akait
5efc30a0b0
refactor: rebase
2023-06-14 19:47:52 +03:00
alexander.akait
fb93153a2e
test: fix
2023-06-14 19:46:55 +03:00
alexander.akait
0df63a1a25
test: fix
2023-06-14 19:46:55 +03:00
alexander.akait
9894226149
refactor(types): more
2023-06-14 19:46:53 +03:00
alexander.akait
568f28bb87
refactor(types): more
2023-06-14 19:45:51 +03:00
alexander.akait
27cae68bda
feat: allow to use `falsy` loaders and plugins
2023-06-14 18:25:31 +03:00
Sean Larkin
90ee0510b1
Merge pull request #17346 from burhanuday/feat/style-field-resolution
...
feat: resolve style fields in package json
2023-06-14 08:13:53 -07:00
Sean Larkin
d00f4025ca
Merge pull request #16577 from ahabhgk/type-css-auto
...
feat: 'css/auto' as a css module type
2023-06-14 08:10:05 -07:00
alexander.akait
0798a75f71
refactor: update comments
2023-06-13 23:48:58 +03:00
alexander.akait
5f56793ad7
test: more
2023-06-13 20:09:30 +03:00
alexander.akait
3c4c535dd0
test: more
2023-06-13 19:34:05 +03:00