don't minimize dev output

This commit is contained in:
or-else
2021-01-28 16:57:39 -08:00
parent 60b4ed034a
commit f7652ec3c3
+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = (env, argv) => {
publicPath: '/umd/' publicPath: '/umd/'
}, },
optimization: { optimization: {
minimize: true, minimize: (mode === 'prod'),
minimizer: [ minimizer: [
new TerserPlugin({ new TerserPlugin({
terserOptions: { terserOptions: {