diff --git a/README.md b/README.md index f75b5d4..5a47a6b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ pnpm dev ## Common scripts - `pnpm dev`: start the vinext development server -- `pnpm build`: create the production bundle with vinext +- `pnpm build`: create the Cloudflare-targeted production bundle with Vite - `pnpm start`: run the built app locally - `pnpm deploy`: build and deploy to Cloudflare Workers - `pnpm deploy:dry-run`: build the deploy artifact without publishing it diff --git a/package.json b/package.json index 242389e..869b3c6 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vinext dev -H 0.0.0.0", - "build": "vinext build", + "build": "vite build", "start": "vinext start", "deploy": "vinext deploy", "deploy:dry-run": "vinext deploy --dry-run", @@ -21,8 +21,7 @@ "db:push": "prisma db push", "db:studio": "prisma studio", "postinstall": "prisma generate", - "dev:vinext": "vite dev --port 3001", - "build:vinext": "vite build" + "dev:vinext": "vite dev --port 3001" }, "dependencies": { "@prisma/adapter-pg": "7.5.0",