Skip to content

Commit 2c3edce

Browse files
authored
docs(migrate): update of splitChunks.cacheGroups.test() (#6022)
Mention the change of the `chunks` parameter of `optimization.splitChunks.cacheGroups.test()`
1 parent bf79b4d commit 2c3edce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/migrate/5.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Update the following options to their new version (if used):
6464
- `optimization.noEmitOnErrors: false``optimization.emitOnErrors: true`
6565
- `optimization.occurrenceOrder: true``optimization: { chunkIds: 'total-size', moduleIds: 'size' }`
6666
- `optimization.splitChunks.cacheGroups.vendors``optimization.splitChunks.cacheGroups.defaultVendors`
67+
- `optimization.splitChunks.cacheGroups.test(module, chunks)``optimization.splitChunks.cacheGroups.test(module, { chunkGraph, moduleGraph })`
6768
- `Compilation.entries``Compilation.entryDependencies`
6869
- `serve``serve` is removed in favor of [`DevServer`](/configuration/dev-server/)
6970
- [`Rule.query`](/configuration/module/#ruleoptions--rulequery) (deprecated since v3) → `Rule.options`/`UseEntry.options`

0 commit comments

Comments
 (0)