bugfix:暂时去掉 VITE_CJS_IGNORE_WARNING 变量,解决 Windows 无法启动的问题

(cherry picked from commit 9ea698e86c)
pull/420/head
YunaiV 2024-03-01 12:44:33 +08:00 committed by shizhong
parent ce10ab6fc8
commit b8c6b5e949
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"private": false, "private": false,
"scripts": { "scripts": {
"i": "pnpm install", "i": "pnpm install",
"dev": "VITE_CJS_IGNORE_WARNING=true vite --mode local-dev", "dev": "vite --mode local-dev",
"dev-server": "vite --mode dev", "dev-server": "vite --mode dev",
"ts:check": "vue-tsc --noEmit", "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:local-dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode local-dev",