【恢复】npm run dev 使用 local-dev 配置文件

This commit is contained in:
YunaiV 2024-04-28 12:58:35 +08:00
parent c96902d622
commit 730da857e1

View File

@ -6,11 +6,11 @@
"private": false,
"scripts": {
"i": "pnpm install",
"local-dev": "vite --mode local-dev",
"dev": "vite --mode dev",
"dev": "vite --mode local-dev",
"dev-server": "vite --mode dev",
"ts:check": "vue-tsc --noEmit",
"build:local-dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode local-dev",
"build:dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode dev",
"build:dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode local-dev",
"build:test": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode test",
"build:stage": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode stage",
"build:prod": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode prod",