Skip to content

Commit 87859f6

Browse files
authored
docs(configuration): update optimization.removeAvailableModules (#7130)
1 parent 234a37d commit 87859f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/configuration/optimization.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ module.exports = {
424424

425425
`boolean = false`
426426

427-
Tells webpack to detect and remove modules from chunks when these modules are already included in all parents. Setting `optimization.removeAvailableModules` to `true` will enable this optimization. Enabled by default in [`production` mode](/configuration/mode/).
427+
Tells webpack to detect and remove modules from chunks when these modules are already included in all parents. Setting `optimization.removeAvailableModules` to `true` will enable this optimization.
428428

429429
**webpack.config.js**
430430

@@ -437,7 +437,7 @@ module.exports = {
437437
};
438438
```
439439

440-
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.
440+
W> `optimization.removeAvailableModules` reduces the performance of webpack.
441441

442442
## optimization.removeEmptyChunks
443443

0 commit comments

Comments
 (0)