@@ -134,7 +134,7 @@ if (isProd()) {
filename: '[path].gz[query]', // 提示 compression-webpack-plugin@3.0.0以上的话asset改为filename
algorithm: 'gzip',
test: new RegExp('\\.(' + productionGzipExtensions.join('|') + ')$'),
- threshold: 10240,
+ threshold: 1024,
minRatio: 0.8
}))
}