This commit is contained in:
caoqianming 2024-06-07 13:20:38 +08:00
commit 8294f8df5b
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,7 @@
"html2canvas": "^1.4.1",
"json-editor-vue3": "^1.0.6",
"jspdf": "^2.5.1",
"node-polyfill-webpack-plugin": "^4.0.0",
"nprogress": "0.2.0",
"print-js": "^1.6.0",
"qrcodejs2": "0.0.2",

View File

@ -1,5 +1,5 @@
const { defineConfig } = require('@vue/cli-service')
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
module.exports = defineConfig({
//设置为空打包后不分更目录还是多级目录
publicPath:'',
@ -85,6 +85,7 @@ module.exports = defineConfig({
stream: false,
}
},
plugins: [new NodePolyfillPlugin()],
externals:{
'./cptable':'var cptable'
}