diff --git a/examples/express-react/package.json b/examples/express-react/package.json index 3e69621..59dc825 100644 --- a/examples/express-react/package.json +++ b/examples/express-react/package.json @@ -1,8 +1,7 @@ { "scripts": { "dev": "vike dev", - "build": "vike build", - "prod": "cross-env NODE_ENV=production node dist/server/index.mjs" + "prod": "vike build && cross-env NODE_ENV=production node dist/server/index.mjs" }, "dependencies": { "@vitejs/plugin-react": "^4.3.1",