Skip to content

Commit de2eb0b

Browse files
mapboxgl 打包移除 turf videojs flvjs
1 parent 6dcb349 commit de2eb0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/webpack.config.mapboxgl.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ module.exports = {
2929
'webgl-debug': '(function(){try{return webgl-debug}catch(e){return {}}})()',
3030
xlsx: 'function(){try{return XLSX}catch(e){return {}}}()',
3131
canvg: 'function(){try{return canvg}catch(e){return {}}}()',
32+
'video.js': 'function(){try{return videojs}catch(e){return {}}}()',
33+
'flv.js': 'function(){try{return flvjs}catch(e){return {}}}()',
34+
'@turf/turf': "function(){try{return turf}catch(e){return {}}}()",
3235
jsonsql: 'function(){try{return jsonsql}catch(e){return {}}}()'
3336
})
3437
],

0 commit comments

Comments
 (0)