Revert "remove UglifyJsPlugin"

This reverts commit 40b9ae9599.
This commit is contained in:
Collin M. Barrett 2018-03-25 17:38:17 -05:00
parent e41b8dd836
commit e90d45d31b

View file

@ -45,7 +45,11 @@ module.exports = (env) => {
new webpack.DefinePlugin({
'process.env.NODE_ENV': isDevBuild ? '"development"' : '"production"'
})
]
].concat(isDevBuild
? []
: [
new webpack.optimize.UglifyJsPlugin()
])
}
];
};