fix: add wrangler.jsonc for Pages static asset deployment

Configure Cloudflare Pages to deploy the dist directory as static assets.
This fixes the deployment error "Missing entry-point to Worker script".

The frontend (static assets) will be served by Pages while the backend
(WebSocket server, Durable Objects) runs separately as a Worker.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2025-11-16 04:33:22 -07:00
parent 11c61a3d1c
commit b507e3559f
1 changed files with 7 additions and 0 deletions

7
wrangler.jsonc Normal file
View File

@ -0,0 +1,7 @@
{
"name": "jeffemmett-canvas",
"compatibility_date": "2025-11-16",
"assets": {
"directory": "./dist"
}
}