webpack 5.51.2 → 5.52.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.
Potentially problematic release.
This version of webpack might be problematic. Click here for more details.
- package/bin/webpack.js +0 -0
- package/lib/ExternalModule.js +25 -16
- package/lib/InitFragment.js +23 -0
- package/lib/NormalModuleFactory.js +7 -4
- package/lib/WebpackOptionsApply.js +1 -3
- package/lib/config/defaults.js +0 -1
- package/lib/dependencies/LoaderPlugin.js +94 -98
- package/lib/optimize/MangleExportsPlugin.js +21 -4
- package/lib/util/internalSerializables.js +1 -0
- package/package.json +3 -3
- package/schemas/WebpackOptions.check.js +1 -1
- package/schemas/WebpackOptions.json +0 -4
- package/types.d.ts +2 -5
@@ -699,10 +699,6 @@
|
|
699
699
|
}
|
700
700
|
]
|
701
701
|
},
|
702
|
-
"executeModule": {
|
703
|
-
"description": "Enable build-time execution of modules from the module graph for plugins and loaders.",
|
704
|
-
"type": "boolean"
|
705
|
-
},
|
706
702
|
"layers": {
|
707
703
|
"description": "Enable module and chunk layers.",
|
708
704
|
"type": "boolean"
|
package/types.d.ts
CHANGED
@@ -3282,11 +3282,6 @@ declare interface Experiments {
|
|
3282
3282
|
*/
|
3283
3283
|
buildHttp?: boolean | HttpUriOptions;
|
3284
3284
|
|
3285
|
-
/**
|
3286
|
-
* Enable build-time execution of modules from the module graph for plugins and loaders.
|
3287
|
-
*/
|
3288
|
-
executeModule?: boolean;
|
3289
|
-
|
3290
3285
|
/**
|
3291
3286
|
* Enable module and chunk layers.
|
3292
3287
|
*/
|
@@ -4517,6 +4512,8 @@ declare abstract class InitFragment<Context> {
|
|
4517
4512
|
endContent?: string | Source;
|
4518
4513
|
getContent(context: Context): string | Source;
|
4519
4514
|
getEndContent(context: Context): undefined | string | Source;
|
4515
|
+
serialize(context?: any): void;
|
4516
|
+
deserialize(context?: any): void;
|
4520
4517
|
merge: any;
|
4521
4518
|
}
|
4522
4519
|
declare interface InputFileSystem {
|