File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
3- var mapboxgl = require ( 'mapbox-gl' ) ;
3+ var mapboxgl = require ( 'mapbox-gl/dist/mapbox-gl-unminified ' ) ;
44
55var Lib = require ( '../../lib' ) ;
66var strTranslate = Lib . strTranslate ;
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- var mapboxgl = require ( 'mapbox-gl' ) ;
3+ var mapboxgl = require ( 'mapbox-gl/dist/mapbox-gl-unminified ' ) ;
44
55var Lib = require ( '../../lib' ) ;
66var geoUtils = require ( '../../lib/geo_location_utils' ) ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments