Remove 'evaluate' babel minify rule to prevent ios / safari errors. (#755)
This commit is contained in:
parent
f0ec0f3c0b
commit
6920296f37
|
@ -62,8 +62,12 @@ base.plugins.push(
|
|||
'process.env.NODE_ENV': JSON.stringify('production')
|
||||
}),
|
||||
new BabelMinifyPlugin({
|
||||
// Mangle seems to be reusing variable identifiers, causing errors
|
||||
mangle: false,
|
||||
propertyLiterals: false
|
||||
// These two on top of a lodash file are causing illegal characters for
|
||||
// safari and ios browsers
|
||||
evaluate: false,
|
||||
propertyLiterals: false,
|
||||
}, {
|
||||
comments: false
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue