webpack 5.45.1 → 5.46.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/NormalModule.js +8 -6
- package/lib/asset/AssetModulesPlugin.js +23 -18
- package/lib/hmr/HotModuleReplacement.runtime.js +66 -60
- package/lib/stats/DefaultStatsFactoryPlugin.js +32 -2
- package/lib/stats/DefaultStatsPresetPlugin.js +6 -2
- package/lib/stats/DefaultStatsPrinterPlugin.js +51 -9
- package/package.json +2 -2
- package/schemas/WebpackOptions.check.js +1 -1
- package/schemas/WebpackOptions.json +8 -0
- package/types.d.ts +10 -0
@@ -4210,6 +4210,10 @@
|
|
4210
4210
|
"description": "Group modules by their type.",
|
4211
4211
|
"type": "boolean"
|
4212
4212
|
},
|
4213
|
+
"groupReasonsByOrigin": {
|
4214
|
+
"description": "Group reasons by their origin module.",
|
4215
|
+
"type": "boolean"
|
4216
|
+
},
|
4213
4217
|
"hash": {
|
4214
4218
|
"description": "Add the hash of the compilation.",
|
4215
4219
|
"type": "boolean"
|
@@ -4314,6 +4318,10 @@
|
|
4314
4318
|
"description": "Add information about the reasons why modules are included.",
|
4315
4319
|
"type": "boolean"
|
4316
4320
|
},
|
4321
|
+
"reasonsSpace": {
|
4322
|
+
"description": "Space to display reasons (groups will be collapsed to fit this space).",
|
4323
|
+
"type": "number"
|
4324
|
+
},
|
4317
4325
|
"relatedAssets": {
|
4318
4326
|
"description": "Add information about assets that are related to other assets (like SourceMaps for assets).",
|
4319
4327
|
"type": "boolean"
|
package/types.d.ts
CHANGED
@@ -10899,6 +10899,11 @@ declare interface StatsOptions {
|
|
10899
10899
|
*/
|
10900
10900
|
groupModulesByType?: boolean;
|
10901
10901
|
|
10902
|
+
/**
|
10903
|
+
* Group reasons by their origin module.
|
10904
|
+
*/
|
10905
|
+
groupReasonsByOrigin?: boolean;
|
10906
|
+
|
10902
10907
|
/**
|
10903
10908
|
* Add the hash of the compilation.
|
10904
10909
|
*/
|
@@ -11004,6 +11009,11 @@ declare interface StatsOptions {
|
|
11004
11009
|
*/
|
11005
11010
|
reasons?: boolean;
|
11006
11011
|
|
11012
|
+
/**
|
11013
|
+
* Space to display reasons (groups will be collapsed to fit this space).
|
11014
|
+
*/
|
11015
|
+
reasonsSpace?: number;
|
11016
|
+
|
11007
11017
|
/**
|
11008
11018
|
* Add information about assets that are related to other assets (like SourceMaps for assets).
|
11009
11019
|
*/
|