Commit eefab8fb authored by Adam Stankiewicz's avatar Adam Stankiewicz Committed by Tim Neutkens

Disable comparisons to fix mapbox-gl bundling (#3346)

parent f9c6e120
......@@ -153,7 +153,12 @@ export default async function createCompiler (dir, { buildId, dev = false, quiet
}),
new UglifyJSPlugin({
parallel: true,
sourceMap: false
sourceMap: false,
uglifyOptions: {
compress: {
comparisons: false
}
}
})
)
plugins.push(new webpack.optimize.ModuleConcatenationPlugin())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment