Disable mangle (temporarily?) to fix prod build (#706)

This commit is contained in:
William O'Beirne 2018-01-01 19:12:27 -05:00 committed by Daniel Ternyak
parent 23e99e56e1
commit 9c913de8e0
1 changed files with 5 additions and 1 deletions

View File

@ -61,7 +61,11 @@ base.plugins.push(
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production')
}),
new BabelMinifyPlugin(),
new BabelMinifyPlugin({
mangle: false
}, {
comments: false
}),
// extract vendor chunks
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor',