fix: 构建环境 NODE_ENV=production 导致 npm 跳过 devDependencies

- build.bat 显式 set NODE_ENV=development + NPM_CONFIG_PRODUCTION=false
  (外部环境注入 NODE_ENV=production 时 vite/vue-tsc 静默不装,
  wails3 build 报 'vue-tsc' is not recognized)
- 清理 frontend/package.json 残留的 'test' 脏字符(JSON 解析失败源头)
- 重新生成 package-lock.json
This commit is contained in:
zerorigin2019 committed 2026-08-05 01:12:24 +08:00
1 parent 58f693f110
commit 814012ec52
4 files changed
+79 -171

No files matched your search

+1 -2
View File
@@ -17,7 +17,6 @@
"@vitejs/plugin-vue": "^6.0.0",
"typescript": "^4.9.3",
"vite": "^8.0.5",
"vue-tsc": "^1.0.11"
"vue-tsc": "^1.8.27"
}
}
test