@@ -38,27 +38,8 @@ module.exports = {
38
38
'mapv' : "function(){try{return mapv}catch(e){return {}}}()" ,
39
39
'elasticsearch' : 'function(){try{return elasticsearch}catch(e){return {}}}()' ,
40
40
'@turf/turf' : "function(){try{return turf}catch(e){return {}}}()" ,
41
- //for ol-mapbox-style
42
- 'ol/style/style' : 'ol.style.Style' ,
43
- 'ol/style/circle' : 'ol.style.Circle' ,
44
- 'ol/style/icon' : 'ol.style.Icon' ,
45
- 'ol/style/stroke' : 'ol.style.Stroke' ,
46
- 'ol/style/fill' : 'ol.style.Fill' ,
47
- 'ol/style/text' : 'ol.style.Text' ,
48
- 'ol/geom/point' : 'ol.geom.Point' ,
49
- 'ol/proj' : 'ol.proj' ,
50
- 'ol/tilegrid' : 'ol.tilegrid' ,
51
- 'ol/format/geojson' : 'ol.format.GeoJSON' ,
52
- 'ol/format/mvt' : 'ol.format.MVT' ,
53
- 'ol/canvasmap' : 'ol.CanvasMap' ,
54
- 'ol/observable' : 'ol.Observable' ,
55
- 'ol/layer/tile' : 'ol.layer.Tile' ,
56
- 'ol/layer/vector' : 'ol.layer.Vector' ,
57
- 'ol/layer/vectortile' : 'ol.layer.VectorTile' ,
58
- 'ol/source/tilejson' : 'ol.source.TileJSON' ,
59
- 'ol/source/vector' : 'ol.source.Vector' ,
60
- 'ol/source/vectortile' : 'ol.source.VectorTile' ,
61
- 'ol/source/xyz' : 'ol.source.XYZ'
41
+ 'ol-mapbox-style' :"function(){try{return olms}catch(e){return {}}}()" ,
42
+ 'ol-mapbox-style/stylefunction' :"function(){try{return olms.stylefunction}catch(e){return {}}}()"
62
43
} ,
63
44
64
45
module : {
0 commit comments