bugfix:暂时去掉 VITE_CJS_IGNORE_WARNING 变量,解决 Windows 无法启动的问题
(cherry picked from commit 9ea698e86c
)
pull/420/head
parent
ce10ab6fc8
commit
b8c6b5e949
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue