Files
tilt/wrangler.jsonc
T
ryanfitzpatrickio 7a196b6571 Prepare Cloudflare Workers/Pages deploy for the static front-end.
Add wrangler assets config, multi-page Vite build (game + studio),
cache/WASM headers, and deploy scripts so `npm run deploy` publishes dist.
2026-08-03 10:33:24 -05:00

18 lines
590 B
JSON

{
"$schema": "./node_modules/wrangler/config-schema.json",
// tilt — static front-end on Workers (assets only, no server Worker code).
// Build first: `npm run build` → uploads `dist/`.
"name": "tilt",
"compatibility_date": "2026-08-03",
"assets": {
"directory": "./dist",
// Multi-page site (index.html + character.html), not a client-side router SPA.
// Missing paths return 404 rather than rewriting everything to index.html.
"not_found_handling": "404-page",
"html_handling": "auto-trailing-slash"
},
"observability": {
"enabled": true
}
}