diff --git a/tasks/util/constants.js b/tasks/util/constants.js index f53719664b0..032eb2aecd6 100644 --- a/tasks/util/constants.js +++ b/tasks/util/constants.js @@ -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