We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bd07b9 commit ff22404Copy full SHA for ff22404
1 file changed
examples/common-chunk-and-vendor-chunk/webpack.config.js
@@ -13,12 +13,14 @@ module.exports = {
13
commons: {
14
chunks: "initial",
15
minChunks: 2,
16
+ maxInitialRequests: 5, // The default limit is too small to showcase the effect
17
minSize: 0 // This is example is too small to create commons chunks
18
},
19
vendor: {
20
test: /node_modules/,
21
22
name: "vendor",
23
+ priority: 10,
24
enforce: true
25
}
26
0 commit comments