Skip to content

Commit 9e2881c

Browse files
docs(migrate): update usage info (webpack#4954)
1 parent 88ebf00 commit 9e2881c

File tree

1 file changed

+1
-1
lines changed
  • src/content/migrate

1 file changed

+1
-1
lines changed

src/content/migrate/5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Reconsider `optimization.splitChunks`:
125125

126126
- It's recommended to use either the defaults or `optimization.splitChunks: { chunks: 'all' }`.
127127
- When using a custom configuration, drop `name: false` and replace `name: string | function` with `idHint: string | function`.
128-
- It was possible to turn off the defaults by setting `optimization.splitChunks: { default: false, vendors: false }`. We don't recommend doing this, but if you really want to get the same effect in webpack 5: `optimization.splitChunks: { default: false, defaultVendors: false }`.
128+
- It was possible to turn off the defaults by setting `optimization.splitChunks.cacheGroups: { default: false, vendors: false }`. We don't recommend doing this, but if you really want to get the same effect in webpack 5: `optimization.splitChunks.cacheGroups: { default: false, defaultVendors: false }`.
129129

130130
Consider removing defaults:
131131

0 commit comments

Comments
 (0)