Commit a4b9d519 authored by zhangyanni's avatar zhangyanni

打包配置

parent 6d36362b
......@@ -64,7 +64,7 @@ module.exports = {
new CompressionWebpackPlugin({
filename: '[path].gz[query]',
algorithm: 'gzip',
deleteOriginalAssets: true, // 删除原文件
deleteOriginalAssets: false, // 删除原文件
test: new RegExp('\\.(' + productionGzipExtensions.join('|') + ')$'),
threshold: 10240,
minRatio: 0.8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment