Adjust webpack.config.js, as the newly included iconv-lite is very large.
This commit is contained in:
@@ -200,7 +200,8 @@ module.exports = {
|
|||||||
? {}
|
? {}
|
||||||
: {
|
: {
|
||||||
chunks: "all",
|
chunks: "all",
|
||||||
minSize: 30000,
|
minSize: 128000,
|
||||||
|
maxSize: 244000,
|
||||||
automaticNameDelimiter: ".",
|
automaticNameDelimiter: ".",
|
||||||
automaticNameMaxLength: 16,
|
automaticNameMaxLength: 16,
|
||||||
name: true
|
name: true
|
||||||
@@ -390,7 +391,7 @@ module.exports = {
|
|||||||
new ImageminPlugin({
|
new ImageminPlugin({
|
||||||
disable: process.env.NODE_ENV === "development",
|
disable: process.env.NODE_ENV === "development",
|
||||||
pngquant: {
|
pngquant: {
|
||||||
quality: "5-15"
|
quality: "3-10"
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
new MiniCssExtractPlugin({
|
new MiniCssExtractPlugin({
|
||||||
|
|||||||
Reference in New Issue
Block a user