File tree 3 files changed +2
-11
lines changed
3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var mapboxgl = require ( 'mapbox-gl' ) ;
3
+ var mapboxgl = require ( 'mapbox-gl/dist/mapbox-gl-unminified ' ) ;
4
4
5
5
var Lib = require ( '../../lib' ) ;
6
6
var strTranslate = Lib . strTranslate ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var mapboxgl = require ( 'mapbox-gl' ) ;
3
+ var mapboxgl = require ( 'mapbox-gl/dist/mapbox-gl-unminified ' ) ;
4
4
5
5
var Lib = require ( '../../lib' ) ;
6
6
var geoUtils = require ( '../../lib/geo_location_utils' ) ;
Original file line number Diff line number Diff line change @@ -99,15 +99,6 @@ module.exports = {
99
99
uglifyOptions : {
100
100
ecma : 5 ,
101
101
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
- } ,
111
102
output : {
112
103
beautify : false ,
113
104
ascii_only : true
You can’t perform that action at this time.
0 commit comments