fix: cross-env script

This commit is contained in:
vben 2023-04-08 00:04:56 +08:00
parent cfbd5e9851
commit e285947716
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
},
"scripts": {
"bootstrap": "pnpm install",
"build": "NODE_ENV=production pnpm vite build",
"build": "cross-env NODE_ENV=production pnpm vite build",
"build:analyze": "pnpm vite build --mode analyze",
"build:no-cache": "pnpm clean:cache && npm run build",
"build:test": "pnpm vite build --mode test",