diff --git a/examples/express-react/package.json b/examples/express-react/package.json index 16ebd0d..67e0e99 100644 --- a/examples/express-react/package.json +++ b/examples/express-react/package.json @@ -2,7 +2,7 @@ "scripts": { "dev": "vite dev", "build": "vite build", - "prod": "NODE_ENV=production node dist/server/index.mjs" + "prod": "cross-env NODE_ENV=production node dist/server/index.mjs" }, "dependencies": { "@vitejs/plugin-react": "^4.3.1", @@ -12,7 +12,8 @@ "vike": "^0.4.181", "vike-node": "^0.1.1", "vike-react": "^0.4.18", - "vite": "^5.3.5" + "vite": "^5.3.5", + "cross-env": "^7.0.3" }, "type": "module" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 506b3cf..3bd2a62 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,6 +32,9 @@ importers: '@vitejs/plugin-react': specifier: ^4.3.1 version: 4.3.1(vite@5.3.5(@types/node@20.14.12)) + cross-env: + specifier: ^7.0.3 + version: 7.0.3 express: specifier: ^4.19.2 version: 4.19.2