webpack 5.96.1 → 5.97.0

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.
Files changed (64) hide show
  1. package/lib/CssModule.js +5 -0
  2. package/lib/DependencyTemplate.js +2 -2
  3. package/lib/EvalSourceMapDevToolPlugin.js +5 -0
  4. package/lib/FalseIIFEUmdWarning.js +19 -0
  5. package/lib/HotModuleReplacementPlugin.js +4 -0
  6. package/lib/Module.js +6 -0
  7. package/lib/ModuleSourceTypesConstants.js +12 -0
  8. package/lib/NormalModule.js +1 -0
  9. package/lib/RuntimeTemplate.js +7 -0
  10. package/lib/SourceMapDevToolPlugin.js +8 -0
  11. package/lib/WebpackOptionsApply.js +3 -1
  12. package/lib/asset/AssetModulesPlugin.js +7 -2
  13. package/lib/config/defaults.js +52 -36
  14. package/lib/config/normalization.js +0 -1
  15. package/lib/config/target.js +8 -8
  16. package/lib/css/CssGenerator.js +139 -35
  17. package/lib/css/CssLoadingRuntimeModule.js +108 -198
  18. package/lib/css/CssModulesPlugin.js +78 -124
  19. package/lib/css/CssParser.js +545 -121
  20. package/lib/css/walkCssTokens.js +41 -19
  21. package/lib/dependencies/CachedConstDependency.js +2 -1
  22. package/lib/dependencies/ContextDependencyTemplateAsId.js +3 -2
  23. package/lib/dependencies/{CssExportDependency.js → CssIcssExportDependency.js} +35 -35
  24. package/lib/dependencies/CssIcssImportDependency.js +118 -0
  25. package/lib/dependencies/CssIcssSymbolDependency.js +132 -0
  26. package/lib/dependencies/CssImportDependency.js +0 -8
  27. package/lib/dependencies/CssLocalIdentifierDependency.js +69 -73
  28. package/lib/dependencies/CssUrlDependency.js +1 -0
  29. package/lib/esm/ModuleChunkFormatPlugin.js +8 -4
  30. package/lib/esm/ModuleChunkLoadingRuntimeModule.js +17 -10
  31. package/lib/index.js +9 -3
  32. package/lib/javascript/EnableChunkLoadingPlugin.js +2 -4
  33. package/lib/library/AssignLibraryPlugin.js +1 -1
  34. package/lib/library/EnableLibraryPlugin.js +17 -0
  35. package/lib/node/ReadFileCompileAsyncWasmPlugin.js +81 -78
  36. package/lib/node/ReadFileCompileWasmPlugin.js +76 -57
  37. package/lib/optimize/MergeDuplicateChunksPlugin.js +22 -2
  38. package/lib/sharing/ConsumeSharedPlugin.js +35 -12
  39. package/lib/sharing/utils.js +35 -4
  40. package/lib/stats/DefaultStatsFactoryPlugin.js +0 -5
  41. package/lib/util/Queue.js +52 -24
  42. package/lib/util/generateDebugId.js +33 -0
  43. package/lib/util/internalSerializables.js +6 -2
  44. package/lib/wasm/EnableWasmLoadingPlugin.js +36 -25
  45. package/lib/wasm-async/AsyncWasmLoadingRuntimeModule.js +26 -2
  46. package/lib/wasm-async/UniversalCompileAsyncWasmPlugin.js +103 -0
  47. package/lib/wasm-sync/WebAssemblyParser.js +1 -1
  48. package/lib/web/FetchCompileAsyncWasmPlugin.js +43 -44
  49. package/lib/web/FetchCompileWasmPlugin.js +4 -4
  50. package/package.json +4 -4
  51. package/schemas/WebpackOptions.check.js +1 -1
  52. package/schemas/WebpackOptions.json +34 -12
  53. package/schemas/plugins/BannerPlugin.json +1 -1
  54. package/schemas/plugins/SourceMapDevToolPlugin.check.js +1 -1
  55. package/schemas/plugins/SourceMapDevToolPlugin.json +4 -0
  56. package/schemas/plugins/css/CssAutoParserOptions.check.js +1 -1
  57. package/schemas/plugins/css/CssGlobalParserOptions.check.js +1 -1
  58. package/schemas/plugins/css/CssModuleParserOptions.check.js +1 -1
  59. package/schemas/plugins/css/CssParserOptions.check.js +1 -1
  60. package/schemas/plugins/optimize/MergeDuplicateChunksPlugin.check.d.ts +7 -0
  61. package/schemas/plugins/optimize/MergeDuplicateChunksPlugin.check.js +6 -0
  62. package/schemas/plugins/optimize/MergeDuplicateChunksPlugin.json +11 -0
  63. package/types.d.ts +84 -23
  64. package/lib/css/CssExportsGenerator.js +0 -207
@@ -395,8 +395,14 @@
395
395
  "type": "object",
396
396
  "additionalProperties": false,
397
397
  "properties": {
398
+ "import": {
399
+ "$ref": "#/definitions/CssParserImport"
400
+ },
398
401
  "namedExports": {
399
402
  "$ref": "#/definitions/CssParserNamedExports"
403
+ },
404
+ "url": {
405
+ "$ref": "#/definitions/CssParserUrl"
400
406
  }
401
407
  }
402
408
  },
@@ -483,15 +489,17 @@
483
489
  "type": "object",
484
490
  "additionalProperties": false,
485
491
  "properties": {
492
+ "import": {
493
+ "$ref": "#/definitions/CssParserImport"
494
+ },
486
495
  "namedExports": {
487
496
  "$ref": "#/definitions/CssParserNamedExports"
497
+ },
498
+ "url": {
499
+ "$ref": "#/definitions/CssParserUrl"
488
500
  }
489
501
  }
490
502
  },
491
- "CssHeadDataCompression": {
492
- "description": "Compress the data in the head tag of CSS files.",
493
- "type": "boolean"
494
- },
495
503
  "CssModuleGeneratorOptions": {
496
504
  "description": "Generator options for css/module modules.",
497
505
  "type": "object",
@@ -516,11 +524,21 @@
516
524
  "type": "object",
517
525
  "additionalProperties": false,
518
526
  "properties": {
527
+ "import": {
528
+ "$ref": "#/definitions/CssParserImport"
529
+ },
519
530
  "namedExports": {
520
531
  "$ref": "#/definitions/CssParserNamedExports"
532
+ },
533
+ "url": {
534
+ "$ref": "#/definitions/CssParserUrl"
521
535
  }
522
536
  }
523
537
  },
538
+ "CssParserImport": {
539
+ "description": "Enable/disable `@import` at-rules handling.",
540
+ "type": "boolean"
541
+ },
524
542
  "CssParserNamedExports": {
525
543
  "description": "Use ES modules named export for css exports.",
526
544
  "type": "boolean"
@@ -530,11 +548,21 @@
530
548
  "type": "object",
531
549
  "additionalProperties": false,
532
550
  "properties": {
551
+ "import": {
552
+ "$ref": "#/definitions/CssParserImport"
553
+ },
533
554
  "namedExports": {
534
555
  "$ref": "#/definitions/CssParserNamedExports"
556
+ },
557
+ "url": {
558
+ "$ref": "#/definitions/CssParserUrl"
535
559
  }
536
560
  }
537
561
  },
562
+ "CssParserUrl": {
563
+ "description": "Enable/disable `url()`/`image-set()`/`src()`/`image()` functions handling.",
564
+ "type": "boolean"
565
+ },
538
566
  "Dependencies": {
539
567
  "description": "References to other configurations to depend on.",
540
568
  "type": "array",
@@ -564,7 +592,7 @@
564
592
  },
565
593
  {
566
594
  "type": "string",
567
- "pattern": "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"
595
+ "pattern": "^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map(-debugids)?$"
568
596
  }
569
597
  ]
570
598
  },
@@ -3337,9 +3365,6 @@
3337
3365
  "cssFilename": {
3338
3366
  "$ref": "#/definitions/CssFilename"
3339
3367
  },
3340
- "cssHeadDataCompression": {
3341
- "$ref": "#/definitions/CssHeadDataCompression"
3342
- },
3343
3368
  "devtoolFallbackModuleFilenameTemplate": {
3344
3369
  "$ref": "#/definitions/DevtoolFallbackModuleFilenameTemplate"
3345
3370
  },
@@ -3546,9 +3571,6 @@
3546
3571
  "cssFilename": {
3547
3572
  "$ref": "#/definitions/CssFilename"
3548
3573
  },
3549
- "cssHeadDataCompression": {
3550
- "$ref": "#/definitions/CssHeadDataCompression"
3551
- },
3552
3574
  "devtoolFallbackModuleFilenameTemplate": {
3553
3575
  "$ref": "#/definitions/DevtoolFallbackModuleFilenameTemplate"
3554
3576
  },
@@ -5401,7 +5423,7 @@
5401
5423
  "description": "The method of loading WebAssembly Modules (methods included by default are 'fetch' (web/WebWorker), 'async-node' (node.js), but others might be added by plugins).",
5402
5424
  "anyOf": [
5403
5425
  {
5404
- "enum": ["fetch-streaming", "fetch", "async-node"]
5426
+ "enum": ["fetch", "async-node"]
5405
5427
  },
5406
5428
  {
5407
5429
  "type": "string"
@@ -90,7 +90,7 @@
90
90
  "type": "boolean"
91
91
  },
92
92
  "stage": {
93
- "description": "Specifies the banner.",
93
+ "description": "Specifies the stage when add a banner.",
94
94
  "type": "number"
95
95
  },
96
96
  "test": {
@@ -3,4 +3,4 @@
3
3
  * DO NOT MODIFY BY HAND.
4
4
  * Run `yarn special-lint-fix` to update
5
5
  */
6
- const e=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;module.exports=l,module.exports.default=l;const n={definitions:{rule:{anyOf:[{instanceof:"RegExp"},{type:"string",minLength:1}]},rules:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/rule"}]}},{$ref:"#/definitions/rule"}]}},type:"object",additionalProperties:!1,properties:{append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1},{instanceof:"Function"}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}}},t=Object.prototype.hasOwnProperty;function s(e,{instancePath:n="",parentData:t,parentDataProperty:l,rootData:r=e}={}){let o=null,a=0;const i=a;let u=!1;const p=a;if(a===p)if(Array.isArray(e)){const n=e.length;for(let t=0;t<n;t++){let n=e[t];const s=a,l=a;let r=!1,i=null;const u=a,p=a;let c=!1;const m=a;if(!(n instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=m===a;if(c=c||f,!c){const e=a;if(a===e)if("string"==typeof n){if(n.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:"string"}};null===o?o=[e]:o.push(e),a++}f=e===a,c=c||f}if(c)a=p,null!==o&&(p?o.length=p:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(u===a&&(r=!0,i=0),r)a=l,null!==o&&(l?o.length=l:o=null);else{const e={params:{passingSchemas:i}};null===o?o=[e]:o.push(e),a++}if(s!==a)break}}else{const e={params:{type:"array"}};null===o?o=[e]:o.push(e),a++}var c=p===a;if(u=u||c,!u){const n=a,t=a;let s=!1;const l=a;if(!(e instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var m=l===a;if(s=s||m,!s){const n=a;if(a===n)if("string"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:"string"}};null===o?o=[e]:o.push(e),a++}m=n===a,s=s||m}if(s)a=t,null!==o&&(t?o.length=t:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}c=n===a,u=u||c}if(!u){const e={params:{}};return null===o?o=[e]:o.push(e),a++,s.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),s.errors=o,0===a}function l(r,{instancePath:o="",parentData:a,parentDataProperty:i,rootData:u=r}={}){let p=null,f=0;if(0===f){if(!r||"object"!=typeof r||Array.isArray(r))return l.errors=[{params:{type:"object"}}],!1;{const a=f;for(const e in r)if(!t.call(n.properties,e))return l.errors=[{params:{additionalProperty:e}}],!1;if(a===f){if(void 0!==r.append){let e=r.append;const n=f,t=f;let s=!1;const o=f;if(!1!==e&&null!==e){const e={params:{}};null===p?p=[e]:p.push(e),f++}var c=o===f;if(s=s||c,!s){const n=f;if(f===n)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}if(c=n===f,s=s||c,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}c=n===f,s=s||c}}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null);var m=n===f}else m=!0;if(m){if(void 0!==r.columns){const e=f;if("boolean"!=typeof r.columns)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.exclude){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.exclude,{instancePath:o+"/exclude",parentData:r,parentDataProperty:"exclude",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.fallbackModuleFilenameTemplate){let e=r.fallbackModuleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}var h=o===f;if(s=s||h,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}h=n===f,s=s||h}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.fileContext){const e=f;if("string"!=typeof r.fileContext)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.filename){let n=r.filename;const t=f,s=f;let o=!1;const a=f;if(!1!==n&&null!==n){const e={params:{}};null===p?p=[e]:p.push(e),f++}var y=a===f;if(o=o||y,!o){const t=f;if(f===t)if("string"==typeof n){if(n.includes("!")||!1!==e.test(n)){const e={params:{}};null===p?p=[e]:p.push(e),f++}else if(n.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}y=t===f,o=o||y}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=s,null!==p&&(s?p.length=s:p=null),m=t===f}else m=!0;if(m){if(void 0!==r.include){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.include,{instancePath:o+"/include",parentData:r,parentDataProperty:"include",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.module){const e=f;if("boolean"!=typeof r.module)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.moduleFilenameTemplate){let e=r.moduleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}var g=o===f;if(s=s||g,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}g=n===f,s=s||g}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.namespace){const e=f;if("string"!=typeof r.namespace)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.noSources){const e=f;if("boolean"!=typeof r.noSources)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.publicPath){const e=f;if("string"!=typeof r.publicPath)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.sourceRoot){const e=f;if("string"!=typeof r.sourceRoot)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m)if(void 0!==r.test){const e=f;s(r.test,{instancePath:o+"/test",parentData:r,parentDataProperty:"test",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),m=e===f}else m=!0}}}}}}}}}}}}}}}return l.errors=p,0===f}
6
+ const e=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;module.exports=l,module.exports.default=l;const n={definitions:{rule:{anyOf:[{instanceof:"RegExp"},{type:"string",minLength:1}]},rules:{anyOf:[{type:"array",items:{oneOf:[{$ref:"#/definitions/rule"}]}},{$ref:"#/definitions/rule"}]}},type:"object",additionalProperties:!1,properties:{append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1},{instanceof:"Function"}]},columns:{type:"boolean"},debugIds:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}}},t=Object.prototype.hasOwnProperty;function s(e,{instancePath:n="",parentData:t,parentDataProperty:l,rootData:r=e}={}){let o=null,a=0;const i=a;let u=!1;const p=a;if(a===p)if(Array.isArray(e)){const n=e.length;for(let t=0;t<n;t++){let n=e[t];const s=a,l=a;let r=!1,i=null;const u=a,p=a;let c=!1;const m=a;if(!(n instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var f=m===a;if(c=c||f,!c){const e=a;if(a===e)if("string"==typeof n){if(n.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:"string"}};null===o?o=[e]:o.push(e),a++}f=e===a,c=c||f}if(c)a=p,null!==o&&(p?o.length=p:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}if(u===a&&(r=!0,i=0),r)a=l,null!==o&&(l?o.length=l:o=null);else{const e={params:{passingSchemas:i}};null===o?o=[e]:o.push(e),a++}if(s!==a)break}}else{const e={params:{type:"array"}};null===o?o=[e]:o.push(e),a++}var c=p===a;if(u=u||c,!u){const n=a,t=a;let s=!1;const l=a;if(!(e instanceof RegExp)){const e={params:{}};null===o?o=[e]:o.push(e),a++}var m=l===a;if(s=s||m,!s){const n=a;if(a===n)if("string"==typeof e){if(e.length<1){const e={params:{}};null===o?o=[e]:o.push(e),a++}}else{const e={params:{type:"string"}};null===o?o=[e]:o.push(e),a++}m=n===a,s=s||m}if(s)a=t,null!==o&&(t?o.length=t:o=null);else{const e={params:{}};null===o?o=[e]:o.push(e),a++}c=n===a,u=u||c}if(!u){const e={params:{}};return null===o?o=[e]:o.push(e),a++,s.errors=o,!1}return a=i,null!==o&&(i?o.length=i:o=null),s.errors=o,0===a}function l(r,{instancePath:o="",parentData:a,parentDataProperty:i,rootData:u=r}={}){let p=null,f=0;if(0===f){if(!r||"object"!=typeof r||Array.isArray(r))return l.errors=[{params:{type:"object"}}],!1;{const a=f;for(const e in r)if(!t.call(n.properties,e))return l.errors=[{params:{additionalProperty:e}}],!1;if(a===f){if(void 0!==r.append){let e=r.append;const n=f,t=f;let s=!1;const o=f;if(!1!==e&&null!==e){const e={params:{}};null===p?p=[e]:p.push(e),f++}var c=o===f;if(s=s||c,!s){const n=f;if(f===n)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}if(c=n===f,s=s||c,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}c=n===f,s=s||c}}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null);var m=n===f}else m=!0;if(m){if(void 0!==r.columns){const e=f;if("boolean"!=typeof r.columns)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.debugIds){const e=f;if("boolean"!=typeof r.debugIds)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.exclude){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.exclude,{instancePath:o+"/exclude",parentData:r,parentDataProperty:"exclude",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.fallbackModuleFilenameTemplate){let e=r.fallbackModuleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}var h=o===f;if(s=s||h,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}h=n===f,s=s||h}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.fileContext){const e=f;if("string"!=typeof r.fileContext)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.filename){let n=r.filename;const t=f,s=f;let o=!1;const a=f;if(!1!==n&&null!==n){const e={params:{}};null===p?p=[e]:p.push(e),f++}var y=a===f;if(o=o||y,!o){const t=f;if(f===t)if("string"==typeof n){if(n.includes("!")||!1!==e.test(n)){const e={params:{}};null===p?p=[e]:p.push(e),f++}else if(n.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}y=t===f,o=o||y}if(!o){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=s,null!==p&&(s?p.length=s:p=null),m=t===f}else m=!0;if(m){if(void 0!==r.include){const e=f,n=f;let t=!1,a=null;const i=f;if(s(r.include,{instancePath:o+"/include",parentData:r,parentDataProperty:"include",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),i===f&&(t=!0,a=0),!t){const e={params:{passingSchemas:a}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=n,null!==p&&(n?p.length=n:p=null),m=e===f}else m=!0;if(m){if(void 0!==r.module){const e=f;if("boolean"!=typeof r.module)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.moduleFilenameTemplate){let e=r.moduleFilenameTemplate;const n=f,t=f;let s=!1;const o=f;if(f===o)if("string"==typeof e){if(e.length<1){const e={params:{}};null===p?p=[e]:p.push(e),f++}}else{const e={params:{type:"string"}};null===p?p=[e]:p.push(e),f++}var g=o===f;if(s=s||g,!s){const n=f;if(!(e instanceof Function)){const e={params:{}};null===p?p=[e]:p.push(e),f++}g=n===f,s=s||g}if(!s){const e={params:{}};return null===p?p=[e]:p.push(e),f++,l.errors=p,!1}f=t,null!==p&&(t?p.length=t:p=null),m=n===f}else m=!0;if(m){if(void 0!==r.namespace){const e=f;if("string"!=typeof r.namespace)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.noSources){const e=f;if("boolean"!=typeof r.noSources)return l.errors=[{params:{type:"boolean"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.publicPath){const e=f;if("string"!=typeof r.publicPath)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m){if(void 0!==r.sourceRoot){const e=f;if("string"!=typeof r.sourceRoot)return l.errors=[{params:{type:"string"}}],!1;m=e===f}else m=!0;if(m)if(void 0!==r.test){const e=f;s(r.test,{instancePath:o+"/test",parentData:r,parentDataProperty:"test",rootData:u})||(p=null===p?s.errors:p.concat(s.errors),f=p.length),m=e===f}else m=!0}}}}}}}}}}}}}}}}return l.errors=p,0===f}
@@ -58,6 +58,10 @@
58
58
  "description": "Indicates whether column mappings should be used (defaults to true).",
59
59
  "type": "boolean"
60
60
  },
61
+ "debugIds": {
62
+ "description": "Emit debug IDs into source and SourceMap.",
63
+ "type": "boolean"
64
+ },
61
65
  "exclude": {
62
66
  "description": "Exclude modules that match the given value from source map generation.",
63
67
  "oneOf": [
@@ -3,4 +3,4 @@
3
3
  * DO NOT MODIFY BY HAND.
4
4
  * Run `yarn special-lint-fix` to update
5
5
  */
6
- "use strict";function r(t,{instancePath:a="",parentData:e,parentDataProperty:o,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const a=0;for(const a in t)if("namedExports"!==a)return r.errors=[{params:{additionalProperty:a}}],!1;if(0===a&&void 0!==t.namedExports&&"boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}function t(a,{instancePath:e="",parentData:o,parentDataProperty:n,rootData:s=a}={}){let p=null,i=0;return r(a,{instancePath:e,parentData:o,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;
6
+ "use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("import"!==e&&"namedExports"!==e&&"url"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e){if(void 0!==t.import){const e=0;if("boolean"!=typeof t.import)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===e}else s=!0;if(s){if(void 0!==t.namedExports){const e=0;if("boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0;if(s)if(void 0!==t.url){const e=0;if("boolean"!=typeof t.url)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0}}}return r.errors=null,!0}function t(e,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=e}={}){let p=null,i=0;return r(e,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;
@@ -3,4 +3,4 @@
3
3
  * DO NOT MODIFY BY HAND.
4
4
  * Run `yarn special-lint-fix` to update
5
5
  */
6
- "use strict";function r(t,{instancePath:a="",parentData:e,parentDataProperty:o,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const a=0;for(const a in t)if("namedExports"!==a)return r.errors=[{params:{additionalProperty:a}}],!1;if(0===a&&void 0!==t.namedExports&&"boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}function t(a,{instancePath:e="",parentData:o,parentDataProperty:n,rootData:s=a}={}){let p=null,i=0;return r(a,{instancePath:e,parentData:o,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;
6
+ "use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("import"!==e&&"namedExports"!==e&&"url"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e){if(void 0!==t.import){const e=0;if("boolean"!=typeof t.import)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===e}else s=!0;if(s){if(void 0!==t.namedExports){const e=0;if("boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0;if(s)if(void 0!==t.url){const e=0;if("boolean"!=typeof t.url)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0}}}return r.errors=null,!0}function t(e,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=e}={}){let p=null,i=0;return r(e,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;
@@ -3,4 +3,4 @@
3
3
  * DO NOT MODIFY BY HAND.
4
4
  * Run `yarn special-lint-fix` to update
5
5
  */
6
- "use strict";function r(t,{instancePath:a="",parentData:e,parentDataProperty:o,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const a=0;for(const a in t)if("namedExports"!==a)return r.errors=[{params:{additionalProperty:a}}],!1;if(0===a&&void 0!==t.namedExports&&"boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}function t(a,{instancePath:e="",parentData:o,parentDataProperty:n,rootData:s=a}={}){let p=null,i=0;return r(a,{instancePath:e,parentData:o,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;
6
+ "use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("import"!==e&&"namedExports"!==e&&"url"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e){if(void 0!==t.import){const e=0;if("boolean"!=typeof t.import)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===e}else s=!0;if(s){if(void 0!==t.namedExports){const e=0;if("boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0;if(s)if(void 0!==t.url){const e=0;if("boolean"!=typeof t.url)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0}}}return r.errors=null,!0}function t(e,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=e}={}){let p=null,i=0;return r(e,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;
@@ -3,4 +3,4 @@
3
3
  * DO NOT MODIFY BY HAND.
4
4
  * Run `yarn special-lint-fix` to update
5
5
  */
6
- "use strict";function r(t,{instancePath:a="",parentData:e,parentDataProperty:o,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const a=0;for(const a in t)if("namedExports"!==a)return r.errors=[{params:{additionalProperty:a}}],!1;if(0===a&&void 0!==t.namedExports&&"boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}function t(a,{instancePath:e="",parentData:o,parentDataProperty:n,rootData:s=a}={}){let p=null,i=0;return r(a,{instancePath:e,parentData:o,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;
6
+ "use strict";function r(t,{instancePath:e="",parentData:o,parentDataProperty:a,rootData:n=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("import"!==e&&"namedExports"!==e&&"url"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e){if(void 0!==t.import){const e=0;if("boolean"!=typeof t.import)return r.errors=[{params:{type:"boolean"}}],!1;var s=0===e}else s=!0;if(s){if(void 0!==t.namedExports){const e=0;if("boolean"!=typeof t.namedExports)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0;if(s)if(void 0!==t.url){const e=0;if("boolean"!=typeof t.url)return r.errors=[{params:{type:"boolean"}}],!1;s=0===e}else s=!0}}}return r.errors=null,!0}function t(e,{instancePath:o="",parentData:a,parentDataProperty:n,rootData:s=e}={}){let p=null,i=0;return r(e,{instancePath:o,parentData:a,parentDataProperty:n,rootData:s})||(p=null===p?r.errors:p.concat(r.errors),i=p.length),t.errors=p,0===i}module.exports=t,module.exports.default=t;
@@ -0,0 +1,7 @@
1
+ /*
2
+ * This file was automatically generated.
3
+ * DO NOT MODIFY BY HAND.
4
+ * Run `yarn special-lint-fix` to update
5
+ */
6
+ declare const check: (options: import("../../../declarations/plugins/optimize/MergeDuplicateChunksPlugin").MergeDuplicateChunksPluginOptions) => boolean;
7
+ export = check;
@@ -0,0 +1,6 @@
1
+ /*
2
+ * This file was automatically generated.
3
+ * DO NOT MODIFY BY HAND.
4
+ * Run `yarn special-lint-fix` to update
5
+ */
6
+ "use strict";function r(t,{instancePath:e="",parentData:a,parentDataProperty:o,rootData:s=t}={}){if(!t||"object"!=typeof t||Array.isArray(t))return r.errors=[{params:{type:"object"}}],!1;{const e=0;for(const e in t)if("stage"!==e)return r.errors=[{params:{additionalProperty:e}}],!1;if(0===e&&void 0!==t.stage&&"number"!=typeof t.stage)return r.errors=[{params:{type:"number"}}],!1}return r.errors=null,!0}module.exports=r,module.exports.default=r;
@@ -0,0 +1,11 @@
1
+ {
2
+ "title": "MergeDuplicateChunksPluginOptions",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "properties": {
6
+ "stage": {
7
+ "description": "Specifies the stage for merging duplicate chunks.",
8
+ "type": "number"
9
+ }
10
+ }
11
+ }
package/types.d.ts CHANGED
@@ -513,7 +513,7 @@ declare interface BannerPluginOptions {
513
513
  raw?: boolean;
514
514
 
515
515
  /**
516
- * Specifies the banner.
516
+ * Specifies the stage when add a banner.
517
517
  */
518
518
  stage?: number;
519
519
 
@@ -1494,11 +1494,6 @@ declare interface ChunkRenderContextCssModulesPlugin {
1494
1494
  */
1495
1495
  runtimeTemplate: RuntimeTemplate;
1496
1496
 
1497
- /**
1498
- * meta data for runtime
1499
- */
1500
- metaData: string[];
1501
-
1502
1497
  /**
1503
1498
  * undo path to css file
1504
1499
  */
@@ -3129,10 +3124,20 @@ declare interface CssAutoGeneratorOptions {
3129
3124
  * Parser options for css/auto modules.
3130
3125
  */
3131
3126
  declare interface CssAutoParserOptions {
3127
+ /**
3128
+ * Enable/disable `@import` at-rules handling.
3129
+ */
3130
+ import?: boolean;
3131
+
3132
3132
  /**
3133
3133
  * Use ES modules named export for css exports.
3134
3134
  */
3135
3135
  namedExports?: boolean;
3136
+
3137
+ /**
3138
+ * Enable/disable `url()`/`image-set()`/`src()`/`image()` functions handling.
3139
+ */
3140
+ url?: boolean;
3136
3141
  }
3137
3142
 
3138
3143
  /**
@@ -3185,10 +3190,20 @@ declare interface CssGlobalGeneratorOptions {
3185
3190
  * Parser options for css/global modules.
3186
3191
  */
3187
3192
  declare interface CssGlobalParserOptions {
3193
+ /**
3194
+ * Enable/disable `@import` at-rules handling.
3195
+ */
3196
+ import?: boolean;
3197
+
3188
3198
  /**
3189
3199
  * Use ES modules named export for css exports.
3190
3200
  */
3191
3201
  namedExports?: boolean;
3202
+
3203
+ /**
3204
+ * Enable/disable `url()`/`image-set()`/`src()`/`image()` functions handling.
3205
+ */
3206
+ url?: boolean;
3192
3207
  }
3193
3208
  declare interface CssImportDependencyMeta {
3194
3209
  layer?: string;
@@ -3269,10 +3284,20 @@ declare interface CssModuleGeneratorOptions {
3269
3284
  * Parser options for css/module modules.
3270
3285
  */
3271
3286
  declare interface CssModuleParserOptions {
3287
+ /**
3288
+ * Enable/disable `@import` at-rules handling.
3289
+ */
3290
+ import?: boolean;
3291
+
3272
3292
  /**
3273
3293
  * Use ES modules named export for css exports.
3274
3294
  */
3275
3295
  namedExports?: boolean;
3296
+
3297
+ /**
3298
+ * Enable/disable `url()`/`image-set()`/`src()`/`image()` functions handling.
3299
+ */
3300
+ url?: boolean;
3276
3301
  }
3277
3302
  declare class CssModulesPlugin {
3278
3303
  constructor();
@@ -3314,10 +3339,20 @@ declare class CssModulesPlugin {
3314
3339
  * Parser options for css modules.
3315
3340
  */
3316
3341
  declare interface CssParserOptions {
3342
+ /**
3343
+ * Enable/disable `@import` at-rules handling.
3344
+ */
3345
+ import?: boolean;
3346
+
3317
3347
  /**
3318
3348
  * Use ES modules named export for css exports.
3319
3349
  */
3320
3350
  namedExports?: boolean;
3351
+
3352
+ /**
3353
+ * Enable/disable `url()`/`image-set()`/`src()`/`image()` functions handling.
3354
+ */
3355
+ url?: boolean;
3321
3356
  }
3322
3357
  type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration;
3323
3358
  declare class DefinePlugin {
@@ -7465,6 +7500,7 @@ declare interface KnownBuildMeta {
7465
7500
  strictHarmonyModule?: boolean;
7466
7501
  async?: boolean;
7467
7502
  sideEffectFree?: boolean;
7503
+ exportsFinalName?: Record<string, string>;
7468
7504
  }
7469
7505
  declare interface KnownCreateStatsOptionsContext {
7470
7506
  forToString?: boolean;
@@ -8603,6 +8639,17 @@ declare class MemoryCachePlugin {
8603
8639
  */
8604
8640
  apply(compiler: Compiler): void;
8605
8641
  }
8642
+ declare class MergeDuplicateChunksPlugin {
8643
+ constructor(options?: MergeDuplicateChunksPluginOptions);
8644
+ options: MergeDuplicateChunksPluginOptions;
8645
+ apply(compiler: Compiler): void;
8646
+ }
8647
+ declare interface MergeDuplicateChunksPluginOptions {
8648
+ /**
8649
+ * Specifies the stage for merging duplicate chunks.
8650
+ */
8651
+ stage?: number;
8652
+ }
8606
8653
  declare class MinChunkSizePlugin {
8607
8654
  constructor(options: MinChunkSizePluginOptions);
8608
8655
  options: MinChunkSizePluginOptions;
@@ -8683,6 +8730,7 @@ declare class Module extends DependenciesBlock {
8683
8730
  factoryMeta?: FactoryMeta;
8684
8731
  useSourceMap: boolean;
8685
8732
  useSimpleSourceMap: boolean;
8733
+ hot: boolean;
8686
8734
  buildMeta?: BuildMeta;
8687
8735
  buildInfo?: BuildInfo;
8688
8736
  presentationalDependencies?: Dependency[];
@@ -10592,11 +10640,6 @@ declare interface Output {
10592
10640
  | string
10593
10641
  | ((pathData: PathData, assetInfo?: AssetInfo) => string);
10594
10642
 
10595
- /**
10596
- * Compress the data in the head tag of CSS files.
10597
- */
10598
- cssHeadDataCompression?: boolean;
10599
-
10600
10643
  /**
10601
10644
  * Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.
10602
10645
  */
@@ -10891,11 +10934,6 @@ declare interface OutputNormalized {
10891
10934
  | string
10892
10935
  | ((pathData: PathData, assetInfo?: AssetInfo) => string);
10893
10936
 
10894
- /**
10895
- * Compress the data in the head tag of CSS files.
10896
- */
10897
- cssHeadDataCompression?: boolean;
10898
-
10899
10937
  /**
10900
10938
  * Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.
10901
10939
  */
@@ -11592,6 +11630,20 @@ declare interface ReadAsyncOptions<TBuffer extends ArrayBufferView> {
11592
11630
  position?: null | number | bigint;
11593
11631
  buffer?: TBuffer;
11594
11632
  }
11633
+ declare class ReadFileCompileAsyncWasmPlugin {
11634
+ constructor(__0?: ReadFileCompileAsyncWasmPluginOptions);
11635
+
11636
+ /**
11637
+ * Apply the plugin
11638
+ */
11639
+ apply(compiler: Compiler): void;
11640
+ }
11641
+ declare interface ReadFileCompileAsyncWasmPluginOptions {
11642
+ /**
11643
+ * use import?
11644
+ */
11645
+ import?: boolean;
11646
+ }
11595
11647
  declare class ReadFileCompileWasmPlugin {
11596
11648
  constructor(options?: ReadFileCompileWasmPluginOptions);
11597
11649
  options: ReadFileCompileWasmPluginOptions;
@@ -11606,6 +11658,11 @@ declare interface ReadFileCompileWasmPluginOptions {
11606
11658
  * mangle imports
11607
11659
  */
11608
11660
  mangleImports?: boolean;
11661
+
11662
+ /**
11663
+ * use import?
11664
+ */
11665
+ import?: boolean;
11609
11666
  }
11610
11667
  declare interface ReadFileFs {
11611
11668
  (
@@ -12220,11 +12277,6 @@ declare interface RenderContextCssModulesPlugin {
12220
12277
  */
12221
12278
  uniqueName: string;
12222
12279
 
12223
- /**
12224
- * need compress
12225
- */
12226
- cssHeadDataCompression: boolean;
12227
-
12228
12280
  /**
12229
12281
  * undo path to css file
12230
12282
  */
@@ -13445,6 +13497,7 @@ declare abstract class RuntimeTemplate {
13445
13497
  contentHashReplacement: string;
13446
13498
  isIIFE(): undefined | boolean;
13447
13499
  isModule(): undefined | boolean;
13500
+ isNeutralPlatform(): boolean;
13448
13501
  supportsConst(): undefined | boolean;
13449
13502
  supportsArrowFunction(): undefined | boolean;
13450
13503
  supportsAsyncFunction(): undefined | boolean;
@@ -14175,6 +14228,7 @@ declare interface SourceMap {
14175
14228
  sourceRoot?: string;
14176
14229
  sourcesContent?: string[];
14177
14230
  names?: string[];
14231
+ debugId?: string;
14178
14232
  }
14179
14233
  declare class SourceMapDevToolPlugin {
14180
14234
  constructor(options?: SourceMapDevToolPluginOptions);
@@ -14208,6 +14262,11 @@ declare interface SourceMapDevToolPluginOptions {
14208
14262
  */
14209
14263
  columns?: boolean;
14210
14264
 
14265
+ /**
14266
+ * Emit debug IDs into source and SourceMap.
14267
+ */
14268
+ debugIds?: boolean;
14269
+
14211
14270
  /**
14212
14271
  * Exclude modules that match the given value from source map generation.
14213
14272
  */
@@ -16082,6 +16141,7 @@ declare namespace exports {
16082
16141
  AggressiveMergingPlugin,
16083
16142
  AggressiveSplittingPlugin,
16084
16143
  LimitChunkCountPlugin,
16144
+ MergeDuplicateChunksPlugin,
16085
16145
  MinChunkSizePlugin,
16086
16146
  ModuleConcatenationPlugin,
16087
16147
  RealContentHashPlugin,
@@ -16098,8 +16158,8 @@ declare namespace exports {
16098
16158
  }
16099
16159
  export namespace web {
16100
16160
  export {
16101
- FetchCompileAsyncWasmPlugin,
16102
16161
  FetchCompileWasmPlugin,
16162
+ FetchCompileAsyncWasmPlugin,
16103
16163
  JsonpChunkLoadingRuntimeModule,
16104
16164
  JsonpTemplatePlugin,
16105
16165
  CssLoadingRuntimeModule
@@ -16117,7 +16177,8 @@ declare namespace exports {
16117
16177
  NodeSourcePlugin,
16118
16178
  NodeTargetPlugin,
16119
16179
  NodeTemplatePlugin,
16120
- ReadFileCompileWasmPlugin
16180
+ ReadFileCompileWasmPlugin,
16181
+ ReadFileCompileAsyncWasmPlugin
16121
16182
  };
16122
16183
  }
16123
16184
  export namespace electron {