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 e700b17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/build/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ export default async function createCompiler (dir, { buildId, dev = false, quiet
output: 'app.js'
}),
new UglifyJSPlugin({
compress: {
comparisons: false
},
parallel: true,
sourceMap: false
})
Expand Down

0 comments on commit e700b17

Please sign in to comment.