// Deploy-button entry point. Keep runtime resources in sync with // workers/api/wrangler.jsonc. GROWTH is intentionally omitted because // Deploy to Cloudflare does not auto-provision Analytics Engine datasets. { "$schema": "node_modules/wrangler/config-schema.json", "name": "elm-chat", "main": "workers/api/src/index.ts", "compatibility_date": "2026-04-08", "compatibility_flags": ["nodejs_compat"], "dev": { "port": 8799 }, "observability": { "enabled": true, "head_sampling_rate": 1 }, "assets": { "directory": "apps/web/dist", "binding": "ASSETS", "not_found_handling": "single-page-application", "run_worker_first": true }, "durable_objects": { "bindings": [ { "name": "ROOM_OBJECT", "class_name": "RoomDurableObject" } ] }, "migrations": [ { "tag": "v1", "new_sqlite_classes": ["RoomDurableObject"] } ] }