examples/live-notes Public
// live-notes: one Worker, and one NoteRoom Durable Object per note. The editor page is a// static asset; `npm run build` compiles its script into public/js first.{ "$schema": "node_modules/wrangler/config-schema.json", "name": "live-notes", "main": "src/index.ts", "compatibility_date": "2026-09-01", "observability": { "enabled": true }, "build": { "command": "npm run build", "watch_dir": ["client", "src"] }, "assets": { "directory": "public" }, "durable_objects": { "bindings": [{ "name": "NOTES", "class_name": "NoteRoom" }] }, "migrations": [{ "tag": "v1", "new_sqlite_classes": ["NoteRoom"] }]}