feat: 修改打包

This commit is contained in:
2026-10-24 10:52:30 +08:00
parent 631b9589cc
commit 79bca287e7
2 changed files with 13 additions and 18 deletions
+2 -8
View File
@@ -7,8 +7,8 @@
"scripts": {
"serve": "vite",
"serve:prod": "vite --mode production",
"build:dev": "vue-tsc --noEmit && vite build --mode development",
"build:test": "vue-tsc --noEmit && vite build --mode test",
"build:dev": "node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build --mode development",
"build:test": "node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build --mode test",
"build:prod": "node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build --mode production",
"test": "vitest",
"test:run": "vitest run",
@@ -23,16 +23,11 @@
},
"dependencies": {
"@ant-design/icons-vue": "^7.0.1",
"@types/big.js": "^7.0.0",
"@yp-component/root": "^0.0.48",
"ant-design-vue": "^4.0.0",
"big.js": "^7.0.1",
"china-area-data": "^5.0.1",
"dayjs": "^1.11.21",
"echarts": "^5.6.0",
"express": "^5.2.1",
"html2canvas": "^1.4.1",
"qs": "^6.15.0",
"vue": "^3.3.0",
"vue-icons-plus": "^0.1.8",
"vue-router": "^4.2.0"
@@ -42,7 +37,6 @@
"@commitlint/config-conventional": "^20.4.3",
"@rollup/plugin-strip": "^3.0.4",
"@types/node": "^20.10.0",
"@types/qs": "^6.15.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-vue": "^4.5.0",