Commit e285947716e38addce2c0b3ef02d5406c95a6fed

Authored by vben
1 parent cfbd5e98

fix: cross-env script

Showing 1 changed file with 1 additions and 1 deletions
package.json
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 }, 17 },
18 "scripts": { 18 "scripts": {
19 "bootstrap": "pnpm install", 19 "bootstrap": "pnpm install",
20 - "build": "NODE_ENV=production pnpm vite build", 20 + "build": "cross-env NODE_ENV=production pnpm vite build",
21 "build:analyze": "pnpm vite build --mode analyze", 21 "build:analyze": "pnpm vite build --mode analyze",
22 "build:no-cache": "pnpm clean:cache && npm run build", 22 "build:no-cache": "pnpm clean:cache && npm run build",
23 "build:test": "pnpm vite build --mode test", 23 "build:test": "pnpm vite build --mode test",