diff --git a/src/content/plugins/split-chunks-plugin.md b/src/content/plugins/split-chunks-plugin.md index 5e5a224b4d4b..f46a251cba6a 100644 --- a/src/content/plugins/split-chunks-plugin.md +++ b/src/content/plugins/split-chunks-plugin.md @@ -216,9 +216,13 @@ module.exports = { //... optimization: { splitChunks: { - test (chunks) { - //... - return true; + cacheGroups: { + vendors: { + test (chunks) { + //... + return true; + } + } } } }