Skip to content

Commit a5f3dd1

Browse files
Copilothotlong
andcommitted
fix: inline Vercel build command to fix 'No such file or directory' error
Remove scripts/build-vercel.sh and inline 'pnpm run build' directly in vercel.json to avoid path resolution issues on Vercel. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 1540b10 commit a5f3dd1

2 files changed

Lines changed: 1 addition & 21 deletions

File tree

scripts/build-vercel.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://openapi.vercel.sh/vercel.json",
33
"installCommand": "pnpm install --ignore-scripts",
4-
"buildCommand": "bash scripts/build-vercel.sh",
4+
"buildCommand": "pnpm run build",
55
"framework": null,
66
"functions": {
77
"api/**/*.ts": {

0 commit comments

Comments
 (0)