🚑️ hotfix: 修复语法错误
This commit is contained in:
parent
47afcdc9ee
commit
1b6fc68ce2
|
@ -592,6 +592,7 @@ module.exports = function (webpackEnv) {
|
|||
]
|
||||
},
|
||||
plugins: [
|
||||
process.env.NODE_ENV !== 'development' &&
|
||||
new CompressionPlugin({
|
||||
filename: '[path].gz[query]', // 目标资源名称。[file] 会被替换成原资源。[path] 会被替换成原资源路径,[query] 替换成原查询字符串
|
||||
algorithm: 'gzip', // 算法
|
||||
|
|
Loading…
Reference in New Issue