Skip to content

Commit 3084e74

Browse files
committed
no longer need to turn off typeofs to make map-box-gl work in IE10
1 parent 23c863c commit 3084e74

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tasks/util/constants.js

-9
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,6 @@ module.exports = {
9999
uglifyOptions: {
100100
ecma: 5,
101101
mangle: true,
102-
compress: {
103-
// see full list of compress option
104-
// https://github.com/fabiosantoscode/terser#compress-options
105-
//
106-
// need to turn off 'typeofs' to make mapbox-gl work in
107-
// minified bundles, for more info see:
108-
// https://github.com/plotly/plotly.js/issues/2787
109-
typeofs: false
110-
},
111102
output: {
112103
beautify: false,
113104
ascii_only: true

0 commit comments

Comments
 (0)