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:
@@ -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 | |
|
||||
|
||||
Reference in New Issue
Block a user