HBuilder X
取消摇树勾选
vscode
取消 treeshaking
"h5" : {
"router" : {
"base" : "/dist/dev/h5",
"mode" : "hash"
},
"template" : "h5.template.html",
"publicPath": "./",
"optimization" : {
"treeShaking" : {
"enable" : false
}
}
},