Skip to content

Commit 85fa175

Browse files
endilieymontogeek
authored andcommitted
docs(configuration): update optimization.removeAvailableModules (webpack#3218)
1 parent 112b488 commit 85fa175

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/configuration/optimization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,9 @@ module.exports = {
291291

292292
## `optimization.removeAvailableModules`
293293

294-
`bool: true`
294+
`bool`
295295

296-
Tells webpack to detect and remove modules from chunks when these modules are already included in all parents. Setting `optimization.removeAvailableModules` to `false` will disable this optimization.
296+
Tells webpack to detect and remove modules from chunks when these modules are already included in all parents. Setting `optimization.removeAvailableModules` to `false` will disable this optimization. Disabled by default for [mode](/configuration/mode/) `development` and enabled for [mode](/configuration/mode/) `production`.
297297

298298
__webpack.config.js__
299299

0 commit comments

Comments
 (0)