Skip to content

Commit

Permalink
修复未external videojs-flvjs-es6 引起的报错
Browse files Browse the repository at this point in the history
  • Loading branch information
xilanhuaweidapao committed Apr 22, 2024
1 parent 264538a commit d070233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion build/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ module.exports = {
echarts: 'function(){try{return echarts}catch(e){return {}}}()',
mapv: 'function(){try{return mapv}catch(e){return {}}}()',
'@antv/g6': 'function(){try{return G6}catch(e){return {}}}()',
'@tensorflow/tfjs': 'function(){try{return tf}catch(e){return {}}}()'
'@tensorflow/tfjs': 'function(){try{return tf}catch(e){return {}}}()',
'video.js': 'function(){try{return videojs}catch(e){return {}}}()',
'flv.js': 'function(){try{return flvjs}catch(e){return {}}}()',
'videojs-flvjs-es6': 'function(){try{return;}catch(e){return {}}}()'
},

module: {
Expand Down
2 changes: 0 additions & 2 deletions build/webpack.config.mapboxgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ module.exports = {
'webgl-debug': '(function(){try{return webgl-debug}catch(e){return {}}})()',
xlsx: 'function(){try{return XLSX}catch(e){return {}}}()',
canvg: 'function(){try{return canvg}catch(e){return {}}}()',
'video.js': 'function(){try{return videojs}catch(e){return {}}}()',
'flv.js': 'function(){try{return flvjs}catch(e){return {}}}()',
'@turf/turf': "function(){try{return turf}catch(e){return {}}}()",
jsonsql: 'function(){try{return jsonsql}catch(e){return {}}}()'
})
Expand Down

0 comments on commit d070233

Please sign in to comment.