webpack 5.34.0 → 5.35.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/lib/FileSystemInfo.js +25 -17
- package/lib/WebpackOptionsApply.js +2 -1
- package/lib/cache/PackFileCacheStrategy.js +16 -2
- package/lib/config/defaults.js +2 -1
- package/lib/serialization/BinaryMiddleware.js +42 -23
- package/lib/util/comparators.js +1 -3
- package/package.json +1 -1
- package/schemas/WebpackOptions.check.js +1 -1
- package/schemas/WebpackOptions.json +4 -0
- package/types.d.ts +5 -0
@@ -924,6 +924,10 @@
|
|
924
924
|
"type": "object",
|
925
925
|
"additionalProperties": false,
|
926
926
|
"properties": {
|
927
|
+
"allowCollectingMemory": {
|
928
|
+
"description": "Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.",
|
929
|
+
"type": "boolean"
|
930
|
+
},
|
927
931
|
"buildDependencies": {
|
928
932
|
"description": "Dependencies the build depends on (in multiple categories, default categories: 'defaultWebpack').",
|
929
933
|
"type": "object",
|
package/types.d.ts
CHANGED
@@ -3759,6 +3759,11 @@ declare class FetchCompileWasmPlugin {
|
|
3759
3759
|
* Options object for persistent file-based caching.
|
3760
3760
|
*/
|
3761
3761
|
declare interface FileCacheOptions {
|
3762
|
+
/**
|
3763
|
+
* Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.
|
3764
|
+
*/
|
3765
|
+
allowCollectingMemory?: boolean;
|
3766
|
+
|
3762
3767
|
/**
|
3763
3768
|
* Dependencies the build depends on (in multiple categories, default categories: 'defaultWebpack').
|
3764
3769
|
*/
|