diff --git a/src/content/configuration/optimization.md b/src/content/configuration/optimization.md index a00c6763cb85..395ced3210dc 100644 --- a/src/content/configuration/optimization.md +++ b/src/content/configuration/optimization.md @@ -124,3 +124,9 @@ Possible values: - any string: the value to set `process.env.NODE_ENV` to. - false: do not modify/set the value of `process.env.NODE_ENV`. + +## `optimization.mangleWasmImports` + +`bool: false` + +When set to `true` tells webpack to reduce the size of WASM by changing imports to shorter strings. It mangles module and export names.