mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Disable comparisons to fix mapbox-gl bundling (#3346)
This commit is contained in:
parent
f9c6e12037
commit
eefab8fb3e
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue