mirror of
https://github.com/xiangshu233/vue3-vant4-mobile.git
synced 2025-04-05 19:42:05 +08:00
chore: ⏪ 忽略 run dev 时 vite5 报 cjs 的警告
如果你想暂时忽略警告,你可以通过 VITE_CJS_IGNORE_WARNING=true 标志运行你的脚本
This commit is contained in:
parent
6daba832d5
commit
4651004c89
@ -17,7 +17,7 @@
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"bootstrap": "pnpm install",
|
||||
"serve": "npm run dev",
|
||||
"dev": "vite",
|
||||
"dev": "cross-env VITE_CJS_IGNORE_WARNING=true vite dev",
|
||||
"dev:debugcjs": "cross-env VITE_CJS_TRACE=true vite dev",
|
||||
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
|
||||
"build:no-cache": "pnpm clean:cache && npm run build",
|
||||
|
Loading…
x
Reference in New Issue
Block a user