Skip to content

Commit b0c435c

Browse files
committed
【fix】优化打包 review by liqian
1 parent 987ab94 commit b0c435c

File tree

12 files changed

+29372
-132643
lines changed

12 files changed

+29372
-132643
lines changed

build/webpack.config.classic.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ module.exports = {
1818
//其它解决方案配置
1919
resolve: configBase.resolve,
2020
externals: Object.assign({}, configBase.externals, {
21-
'xlsx': "function(){try{return XLSX}catch(e){return {}}}()"
21+
'xlsx': "function(){try{return XLSX}catch(e){return {}}}()",
22+
'canvg': "function(){try{return canvg}catch(e){return {}}}()",
23+
'jsonsql': "function(){try{return jsonsql}catch(e){return {}}}()",
24+
'xml-js': "function(){try{return convert}catch(e){return {}}}()"
2225
}),
2326
module: {
2427
rules: (function () {

0 commit comments

Comments
 (0)