chore: make Vite startup reliable
This commit is contained in:
parent
1582ee8b94
commit
f94f041ac9
@ -6,9 +6,9 @@
|
|||||||
"description": "蝶雅产品AI中心",
|
"description": "蝶雅产品AI中心",
|
||||||
"engines": { "node": ">=18" },
|
"engines": { "node": ">=18" },
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host 127.0.0.1",
|
"dev": "vite --host 127.0.0.1 --configLoader runner",
|
||||||
"start": "vite preview --host 127.0.0.1",
|
"start": "vite preview --host 127.0.0.1",
|
||||||
"build": "vite build --outDir dist",
|
"build": "vite build --configLoader runner --outDir dist",
|
||||||
"test": "node --test tests/*.test.mjs"
|
"test": "node --test tests/*.test.mjs"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user