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 { ...@@ -26,12 +26,7 @@ export class TerserPlugin {
warningsFilter, warningsFilter,
sourceMap, sourceMap,
cache, cache,
terserOptions: { terserOptions: terserOptions,
output: {
comments: /^\**!|@preserve|@license|@cc_on/i,
},
...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