Skip to content

Commit 6cc2488

Browse files
docs: improve split chunks (#689)
1 parent 05b188a commit 6cc2488

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,9 @@ module.exports = {
734734
cacheGroups: {
735735
styles: {
736736
name: 'styles',
737-
test: /\.css$/,
737+
type: 'css/mini-extract',
738+
// For webpack@4
739+
// test: /\.css$/,
738740
chunks: 'all',
739741
enforce: true,
740742
},

0 commit comments

Comments
 (0)