Skip to content

Commit 7506883

Browse files
committed
fix: update build command and output directory for Vercel deployment
1 parent e7e6d59 commit 7506883

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/guides/VERCEL_DEPLOYMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Vercel should automatically detect the `vercel.json` configuration, but verify:
2323

2424
- **Framework**: Next.js
2525
- **Root Directory**: `/` (repository root)
26-
- **Build Command**: `pnpm build:core && pnpm build:web`
26+
- **Build Command**: `pnpm run build:vercel`
2727
- **Install Command**: `pnpm install --frozen-lockfile`
28-
- **Output Directory**: `packages/web/.next`
28+
- **Output Directory**: `packages/web/.next-build`
2929

3030
### Step 3: Add PostgreSQL Database
3131

vercel.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"framework": "nextjs",
3-
"buildCommand": "cd ../.. && pnpm run build:vercel",
4-
"installCommand": "cd ../.. && pnpm install --frozen-lockfile",
5-
"outputDirectory": ".next-build",
3+
"buildCommand": "pnpm run build:vercel",
4+
"installCommand": "pnpm install --frozen-lockfile",
5+
"outputDirectory": "packages/web/.next-build",
66
"env": {
77
"NODE_ENV": "production"
88
}
9-
}
9+
}

0 commit comments

Comments
 (0)