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.
This commit is contained in:
ryanfitzpatrickio
2026-08-03 10:33:24 -05:00
parent dd819e991d
commit 7a196b6571
8 changed files with 1724 additions and 3 deletions
+3
View File
@@ -24,8 +24,11 @@ npm install
npm run dev # http://localhost:5174
npm test # headless: sim, rink, AI, pose, input, physics, hits
npm run capture # boots the app headless and screenshots it into shots/
npm run deploy # vite build + Cloudflare Workers static assets
```
Cloudflare setup, Pages alternative, and CI notes: **[DEPLOY.md](DEPLOY.md)**.
In the browser:
| Xbox | keyboard | |