Files
grimoire/vercel.json
Claude a2ab8775d9 chore: add Vercel deploy preview configuration
- Add vercel.json with Vite framework settings
- Configure SPA routing with rewrites
- Set up asset caching headers
- Add .vercelignore to exclude unnecessary files
- Add VERCEL_SETUP.md with step-by-step setup instructions

This enables automatic deploy previews for every PR once the repo is connected to Vercel.
2025-12-21 11:52:43 +00:00

34 lines
662 B
JSON

{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "npm run build",
"devCommand": "npm run dev",
"installCommand": "npm ci",
"framework": "vite",
"outputDirectory": "dist",
"cleanUrls": true,
"trailingSlash": false,
"rewrites": [
{
"source": "/(.*)",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
],
"github": {
"enabled": true,
"autoAlias": true,
"silent": false,
"autoJobCancelation": true
}
}