Skip to content

Commit 1decec9

Browse files
gHashTagona-agent
andcommitted
fix: add root vercel.json to configure website subdirectory build
Vercel was failing because it couldn't find the build configuration. This configures Vercel to: - Build from website/ subdirectory - Output to website/dist - Use Vite framework Co-authored-by: Ona <no-reply@ona.com>
1 parent b65f855 commit 1decec9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

vercel.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://openapi.vercel.sh/vercel.json",
3+
"buildCommand": "cd website && npm install && npm run build",
4+
"outputDirectory": "website/dist",
5+
"installCommand": "cd website && npm install",
6+
"framework": "vite"
7+
}

0 commit comments

Comments
 (0)