Disable mangle (temporarily?) to fix prod build (#706)
This commit is contained in:
parent
23e99e56e1
commit
9c913de8e0
|
@ -61,7 +61,11 @@ base.plugins.push(
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env.NODE_ENV': JSON.stringify('production')
|
'process.env.NODE_ENV': JSON.stringify('production')
|
||||||
}),
|
}),
|
||||||
new BabelMinifyPlugin(),
|
new BabelMinifyPlugin({
|
||||||
|
mangle: false
|
||||||
|
}, {
|
||||||
|
comments: false
|
||||||
|
}),
|
||||||
// extract vendor chunks
|
// extract vendor chunks
|
||||||
new webpack.optimize.CommonsChunkPlugin({
|
new webpack.optimize.CommonsChunkPlugin({
|
||||||
name: 'vendor',
|
name: 'vendor',
|
||||||
|
|
Loading…
Reference in New Issue