Unverified Commit 4b7dd253 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Simplify options assignment (#6949)

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment