webpack 5.41.0 → 5.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of webpack might be problematic. Click here for more details.
- package/bin/webpack.js +0 -0
- package/lib/TemplatedPathPlugin.js +24 -26
- package/lib/runtime/AsyncModuleRuntimeModule.js +8 -4
- package/lib/serialization/BinaryMiddleware.js +24 -14
- package/lib/serialization/FileMiddleware.js +30 -6
- package/package.json +1 -1
- package/schemas/WebpackOptions.check.js +1 -1
- package/schemas/WebpackOptions.json +5 -5
- package/types.d.ts +8 -8
@@ -243,10 +243,10 @@
|
|
243
243
|
]
|
244
244
|
},
|
245
245
|
"ChunkFormat": {
|
246
|
-
"description": "The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), but others might be added by plugins).",
|
246
|
+
"description": "The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), 'module' (ESM), but others might be added by plugins).",
|
247
247
|
"anyOf": [
|
248
248
|
{
|
249
|
-
"enum": ["array-push", "commonjs", false]
|
249
|
+
"enum": ["array-push", "commonjs", "module", false]
|
250
250
|
},
|
251
251
|
{
|
252
252
|
"type": "string"
|
@@ -258,7 +258,7 @@
|
|
258
258
|
"type": "number"
|
259
259
|
},
|
260
260
|
"ChunkLoading": {
|
261
|
-
"description": "The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).",
|
261
|
+
"description": "The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).",
|
262
262
|
"anyOf": [
|
263
263
|
{
|
264
264
|
"enum": [false]
|
@@ -273,10 +273,10 @@
|
|
273
273
|
"type": "string"
|
274
274
|
},
|
275
275
|
"ChunkLoadingType": {
|
276
|
-
"description": "The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).",
|
276
|
+
"description": "The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).",
|
277
277
|
"anyOf": [
|
278
278
|
{
|
279
|
-
"enum": ["jsonp", "import-scripts", "require", "async-node"]
|
279
|
+
"enum": ["jsonp", "import-scripts", "require", "async-node", "import"]
|
280
280
|
},
|
281
281
|
{
|
282
282
|
"type": "string"
|
package/types.d.ts
CHANGED
@@ -2948,7 +2948,7 @@ declare abstract class EntryDependency extends ModuleDependency {}
|
|
2948
2948
|
*/
|
2949
2949
|
declare interface EntryDescription {
|
2950
2950
|
/**
|
2951
|
-
* The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
2951
|
+
* The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
2952
2952
|
*/
|
2953
2953
|
chunkLoading?: string | false;
|
2954
2954
|
|
@@ -2998,7 +2998,7 @@ declare interface EntryDescription {
|
|
2998
2998
|
*/
|
2999
2999
|
declare interface EntryDescriptionNormalized {
|
3000
3000
|
/**
|
3001
|
-
* The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
3001
|
+
* The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
3002
3002
|
*/
|
3003
3003
|
chunkLoading?: string | false;
|
3004
3004
|
|
@@ -7791,7 +7791,7 @@ declare interface Output {
|
|
7791
7791
|
| ((pathData: PathData, assetInfo?: AssetInfo) => string);
|
7792
7792
|
|
7793
7793
|
/**
|
7794
|
-
* The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), but others might be added by plugins).
|
7794
|
+
* The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), 'module' (ESM), but others might be added by plugins).
|
7795
7795
|
*/
|
7796
7796
|
chunkFormat?: string | false;
|
7797
7797
|
|
@@ -7801,7 +7801,7 @@ declare interface Output {
|
|
7801
7801
|
chunkLoadTimeout?: number;
|
7802
7802
|
|
7803
7803
|
/**
|
7804
|
-
* The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
7804
|
+
* The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
7805
7805
|
*/
|
7806
7806
|
chunkLoading?: string | false;
|
7807
7807
|
|
@@ -8006,7 +8006,7 @@ declare interface Output {
|
|
8006
8006
|
webassemblyModuleFilename?: string;
|
8007
8007
|
|
8008
8008
|
/**
|
8009
|
-
* The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
8009
|
+
* The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
8010
8010
|
*/
|
8011
8011
|
workerChunkLoading?: string | false;
|
8012
8012
|
|
@@ -8077,7 +8077,7 @@ declare interface OutputNormalized {
|
|
8077
8077
|
| ((pathData: PathData, assetInfo?: AssetInfo) => string);
|
8078
8078
|
|
8079
8079
|
/**
|
8080
|
-
* The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), but others might be added by plugins).
|
8080
|
+
* The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), 'module' (ESM), but others might be added by plugins).
|
8081
8081
|
*/
|
8082
8082
|
chunkFormat?: string | false;
|
8083
8083
|
|
@@ -8087,7 +8087,7 @@ declare interface OutputNormalized {
|
|
8087
8087
|
chunkLoadTimeout?: number;
|
8088
8088
|
|
8089
8089
|
/**
|
8090
|
-
* The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
8090
|
+
* The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
8091
8091
|
*/
|
8092
8092
|
chunkLoading?: string | false;
|
8093
8093
|
|
@@ -8277,7 +8277,7 @@ declare interface OutputNormalized {
|
|
8277
8277
|
webassemblyModuleFilename?: string;
|
8278
8278
|
|
8279
8279
|
/**
|
8280
|
-
* The method of loading chunks (methods included by default are 'jsonp' (web), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
8280
|
+
* The method of loading chunks (methods included by default are 'jsonp' (web), 'import' (ESM), 'importScripts' (WebWorker), 'require' (sync node.js), 'async-node' (async node.js), but others might be added by plugins).
|
8281
8281
|
*/
|
8282
8282
|
workerChunkLoading?: string | false;
|
8283
8283
|
|