webpack 5.36.0 → 5.36.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/lib/ChunkGraph.js +58 -35
- package/lib/Compilation.js +71 -41
- package/lib/InitFragment.js +21 -6
- package/lib/ModuleGraph.js +2 -2
- package/lib/WebpackOptionsApply.js +1 -0
- package/lib/cache/PackFileCacheStrategy.js +65 -4
- package/lib/config/defaults.js +2 -1
- package/lib/config/normalization.js +1 -0
- package/lib/dependencies/HarmonyExportInitFragment.js +47 -0
- package/package.json +3 -3
- package/schemas/WebpackOptions.check.js +1 -1
- package/schemas/WebpackOptions.json +4 -0
- package/types.d.ts +5 -0
@@ -999,6 +999,10 @@
|
|
999
999
|
"description": "Name for the cache. Different names will lead to different coexisting caches.",
|
1000
1000
|
"type": "string"
|
1001
1001
|
},
|
1002
|
+
"profile": {
|
1003
|
+
"description": "Track and log detailed timing information for individual cache items.",
|
1004
|
+
"type": "boolean"
|
1005
|
+
},
|
1002
1006
|
"store": {
|
1003
1007
|
"description": "When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).",
|
1004
1008
|
"enum": ["pack"]
|
package/types.d.ts
CHANGED
@@ -3825,6 +3825,11 @@ declare interface FileCacheOptions {
|
|
3825
3825
|
*/
|
3826
3826
|
name?: string;
|
3827
3827
|
|
3828
|
+
/**
|
3829
|
+
* Track and log detailed timing information for individual cache items.
|
3830
|
+
*/
|
3831
|
+
profile?: boolean;
|
3832
|
+
|
3828
3833
|
/**
|
3829
3834
|
* When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).
|
3830
3835
|
*/
|