Skip to content

Commit

Permalink
no longer need to turn off typeofs to make map-box-gl work in IE10
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Jan 28, 2021
1 parent 23c863c commit 3084e74
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tasks/util/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,6 @@ module.exports = {
uglifyOptions: {
ecma: 5,
mangle: true,
compress: {
// see full list of compress option
// https://github.com/fabiosantoscode/terser#compress-options
//
// need to turn off 'typeofs' to make mapbox-gl work in
// minified bundles, for more info see:
// https://github.com/plotly/plotly.js/issues/2787
typeofs: false
},
output: {
beautify: false,
ascii_only: true
Expand Down

0 comments on commit 3084e74

Please sign in to comment.