Skip to content

Commit f14f8fd

Browse files
EugeneHlushkomontogeek
authored andcommitted
docs(config) document performance side effect of optimization.removeAvailableModules (#3285)
1 parent 82c08ad commit f14f8fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/configuration/optimization.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ module.exports = {
306306
};
307307
```
308308

309+
W> `optimization.removeAvailableModules` reduces the performance of webpack, and will be disabled in `production` mode by default in next major release. Disable it in `production` mode if you want extra build performance.
310+
309311
## `optimization.removeEmptyChunks`
310312

311313
`boolean = true`

0 commit comments

Comments
 (0)