enables vercel bun runtime with fluid compute for nextjs
note the dev and build run script in package.json
set the vercel.json file in project root and update the package.json run entry points for dev and build
enables vercel bun runtime with fluid compute for nextjs
note the dev and build run script in package.json
set the vercel.json file in project root and update the package.json run entry points for dev and build
| { | |
| "name": "platform", | |
| "version": "0.1.15", | |
| "private": true, | |
| "scripts": { | |
| "dev": "bun run --bun next dev --turbopack", | |
| "build": "bun run --bun next build", | |
| "start": "next start", | |
| "lint": "biome lint --write src/", | |
| "format": "biome format --write src/", | |
| "db:sync": "drizzle-kit pull", | |
| "db:sync:check": "drizzle-kit pull --dry-run" | |
| } | |
| } |
| { | |
| "$schema": "https://openapi.vercel.sh/vercel.json", | |
| "bunVersion": "1.x", | |
| "framework": "nextjs", | |
| "buildCommand": "bun run build", | |
| "installCommand": "bun install", | |
| "fluid": true | |
| } |