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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy