Commit ebb36f53 authored by zhangyanni's avatar zhangyanni

打包

parent 13d45e52
......@@ -64,7 +64,7 @@ module.exports = {
new CompressionWebpackPlugin({
filename: '[path].gz[query]',
algorithm: 'gzip',
deleteOriginalAssets: false, // 删除原文件
deleteOriginalAssets: true, // 删除原文件
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