fix:修改node版本过高的bug
This commit is contained in:
parent
f392d49292
commit
e8a6e17c70
|
@ -33,6 +33,7 @@
|
||||||
"html2canvas": "^1.4.1",
|
"html2canvas": "^1.4.1",
|
||||||
"json-editor-vue3": "^1.0.6",
|
"json-editor-vue3": "^1.0.6",
|
||||||
"jspdf": "^2.5.1",
|
"jspdf": "^2.5.1",
|
||||||
|
"node-polyfill-webpack-plugin": "^4.0.0",
|
||||||
"nprogress": "0.2.0",
|
"nprogress": "0.2.0",
|
||||||
"print-js": "^1.6.0",
|
"print-js": "^1.6.0",
|
||||||
"qrcodejs2": "0.0.2",
|
"qrcodejs2": "0.0.2",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const { defineConfig } = require('@vue/cli-service')
|
const { defineConfig } = require('@vue/cli-service')
|
||||||
|
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
//设置为空打包后不分更目录还是多级目录
|
//设置为空打包后不分更目录还是多级目录
|
||||||
publicPath:'',
|
publicPath:'',
|
||||||
|
@ -85,6 +85,7 @@ module.exports = defineConfig({
|
||||||
stream: false,
|
stream: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
plugins: [new NodePolyfillPlugin()],
|
||||||
externals:{
|
externals:{
|
||||||
'./cptable':'var cptable'
|
'./cptable':'var cptable'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue