Skip to content

Commit

Permalink
Disable comparisons to fix mapbox-gl bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Nov 27, 2017
1 parent c940121 commit 19b5815
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 19b5815

Please sign in to comment.