Skip to content

Commit

Permalink
docs: improve split chunks (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Jan 28, 2021
1 parent 05b188a commit 6cc2488
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,9 @@ module.exports = {
cacheGroups: {
styles: {
name: 'styles',
test: /\.css$/,
type: 'css/mini-extract',
// For webpack@4
// test: /\.css$/,
chunks: 'all',
enforce: true,
},
Expand Down

0 comments on commit 6cc2488

Please sign in to comment.