chore: fix sourceMap boolean in terser plugin

This commit is contained in:
Erik Ziegler 2021-07-08 15:46:20 +02:00
parent 825e13bcf3
commit a3bd9aa1c5

View File

@ -123,9 +123,6 @@ module.exports = (env, argv, { SRC_DIR, DIST_DIR }) => {
if (isProdBuild) {
config.optimization.minimizer = [
new TerserJSPlugin({
// Supports:
// source-map and inline-source-map
sourceMap: isProdBuild && !isQuickBuild,
parallel: true,
terserOptions: {},
}),