Skip to content

Commit eefab8f

Browse files
sheeruntimneutkens
authored andcommitted
Disable comparisons to fix mapbox-gl bundling (#3346)
1 parent f9c6e12 commit eefab8f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

server/build/webpack.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,12 @@ export default async function createCompiler (dir, { buildId, dev = false, quiet
153153
}),
154154
new UglifyJSPlugin({
155155
parallel: true,
156-
sourceMap: false
156+
sourceMap: false,
157+
uglifyOptions: {
158+
compress: {
159+
comparisons: false
160+
}
161+
}
157162
})
158163
)
159164
plugins.push(new webpack.optimize.ModuleConcatenationPlugin())

0 commit comments

Comments
 (0)