From 8182d03d17ae1de99c54332b74827ca796c72e53 Mon Sep 17 00:00:00 2001 From: EugeneHlushko Date: Fri, 13 Sep 2019 21:40:04 +0300 Subject: [PATCH] docs(config) document performance side effect of optimization.removeAvailableModules --- src/content/configuration/optimization.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/configuration/optimization.md b/src/content/configuration/optimization.md index 01b785051b53..5a4f6c7cee4a 100644 --- a/src/content/configuration/optimization.md +++ b/src/content/configuration/optimization.md @@ -306,6 +306,8 @@ module.exports = { }; ``` +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. + ## `optimization.removeEmptyChunks` `boolean = true`