fix: properly fix minified builds

This commit is contained in:
iCrawl 2018-02-16 09:55:30 +01:00
parent 1b9af41fbb
commit 5583e70eb6
No known key found for this signature in database
GPG key ID: E41A6DB922EC2CFE

View file

@ -13,6 +13,7 @@ if (prod) {
plugins.push(new UglifyJSPlugin({
uglifyOptions: {
mangle: { keep_classnames: true },
compress: { keep_classnames: true },
output: { comments: false },
},
}));