Skip to content

Commit

Permalink
Disable comparisons to fix mapbox-gl bundling (#3346)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun authored and timneutkens committed Nov 28, 2017
1 parent f9c6e12 commit eefab8f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server/build/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit eefab8f

Please sign in to comment.