Skip to content

Commit

Permalink
fix(plugins) Fix invalid splitChunks example (#2478)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdothtml authored and montogeek committed Sep 2, 2018
1 parent 827608f commit 859a2c6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/content/plugins/split-chunks-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,13 @@ module.exports = {
//...
optimization: {
splitChunks: {
test (chunks) {
//...
return true;
cacheGroups: {
vendors: {
test (chunks) {
//...
return true;
}
}
}
}
}
Expand Down

0 comments on commit 859a2c6

Please sign in to comment.