未验证 提交 4b7dd253 编写于 作者: T Tim Neutkens 提交者: GitHub

Simplify options assignment (#6949)

上级 7b643811
......@@ -26,12 +26,7 @@ export class TerserPlugin {
warningsFilter,
sourceMap,
cache,
terserOptions: {
output: {
comments: /^\**!|@preserve|@license|@cc_on/i,
},
...terserOptions,
},
terserOptions: terserOptions,
};
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册