Skip to content

Commit c959a29

Browse files
EugeneHlushkomontogeek
authored andcommitted
docs(config) Optimization mangleWasmImports option (#2265)
1 parent 48db7c3 commit c959a29

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/configuration/optimization.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,9 @@ Possible values:
124124

125125
- any string: the value to set `process.env.NODE_ENV` to.
126126
- false: do not modify/set the value of `process.env.NODE_ENV`.
127+
128+
## `optimization.mangleWasmImports`
129+
130+
`bool: false`
131+
132+
When set to `true` tells webpack to reduce the size of WASM by changing imports to shorter strings. It mangles module and export names.

0 commit comments

Comments
 (0)