Change chunk split setting
This commit is contained in:
@@ -208,11 +208,12 @@ module.exports = {
|
|||||||
? {}
|
? {}
|
||||||
: {
|
: {
|
||||||
chunks: "all",
|
chunks: "all",
|
||||||
minSize: 12800,
|
minSize: 102400,
|
||||||
|
maxSize: 244000,
|
||||||
automaticNameDelimiter: ".",
|
automaticNameDelimiter: ".",
|
||||||
automaticNameMaxLength: 8,
|
automaticNameMaxLength: 8,
|
||||||
maxAsyncRequests: 5,
|
maxAsyncRequests: 8,
|
||||||
maxInitialRequests: 6,
|
maxInitialRequests: 8,
|
||||||
name: true,
|
name: true,
|
||||||
},
|
},
|
||||||
minimize: process.env.NODE_ENV !== "development",
|
minimize: process.env.NODE_ENV !== "development",
|
||||||
@@ -412,7 +413,7 @@ module.exports = {
|
|||||||
pngquant: {
|
pngquant: {
|
||||||
speed: 3,
|
speed: 3,
|
||||||
strip: true,
|
strip: true,
|
||||||
quality: "0-5",
|
quality: "0-3",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
new MiniCssExtractPlugin({
|
new MiniCssExtractPlugin({
|
||||||
|
|||||||
Reference in New Issue
Block a user