Files
Jeremy McSpadden 4aed376576 Fix Vercel blank page by building web assets at root path.
Use .env.web and vercel build env for VITE_BASE_PATH=/; trim README deploy
section. GitHub Pages CI still overrides base to /gsd-pi-config/.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-25 11:27:28 -05:00

18 lines
321 B
JSON

{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "npm ci",
"buildCommand": "npm run build:web",
"outputDirectory": "dist",
"build": {
"env": {
"VITE_BASE_PATH": "/"
}
},
"rewrites": [
{
"source": "/((?!api/).*)",
"destination": "/index.html"
}
]
}