Disable comparisons to fix mapbox-gl bundling (#3346)
This commit is contained in:
parent
f9c6e12037
commit
eefab8fb3e
1 changed files with 6 additions and 1 deletions
|
@ -153,7 +153,12 @@ export default async function createCompiler (dir, { buildId, dev = false, quiet
|
||||||
}),
|
}),
|
||||||
new UglifyJSPlugin({
|
new UglifyJSPlugin({
|
||||||
parallel: true,
|
parallel: true,
|
||||||
sourceMap: false
|
sourceMap: false,
|
||||||
|
uglifyOptions: {
|
||||||
|
compress: {
|
||||||
|
comparisons: false
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
plugins.push(new webpack.optimize.ModuleConcatenationPlugin())
|
plugins.push(new webpack.optimize.ModuleConcatenationPlugin())
|
||||||
|
|
Loading…
Reference in a new issue