From dbef56c9ebb28653e88a3160a6e03bcd62305629 Mon Sep 17 00:00:00 2001 From: NI Date: Sun, 15 Sep 2019 13:29:30 +0800 Subject: [PATCH] Adjust webpack.config.js, as the newly included iconv-lite is very large. --- webpack.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index a0d7176..cd5c726 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -200,7 +200,8 @@ module.exports = { ? {} : { chunks: "all", - minSize: 30000, + minSize: 128000, + maxSize: 244000, automaticNameDelimiter: ".", automaticNameMaxLength: 16, name: true @@ -390,7 +391,7 @@ module.exports = { new ImageminPlugin({ disable: process.env.NODE_ENV === "development", pngquant: { - quality: "5-15" + quality: "3-10" } }), new MiniCssExtractPlugin({