Add Cloudflare Workers deploy config via OpenNext

- Fix build:worker script to use opennextjs-cloudflare build
- Add open-next.config.ts required by OpenNext Cloudflare
- Update wrangler.toml main entry to .open-next/worker.js
- Ignore .open-next/ and .wrangler/ build artifacts

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-05-08 17:27:06 +07:00
co-authored by Claude Opus 4.7
parent d211c40fa1
commit 765bcdca44
5 changed files with 622 additions and 30 deletions
+4
View File
@@ -35,3 +35,7 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
# Added by code-review-graph
.code-review-graph/
next-env.d.ts
# OpenNext & Wrangler build output
.open-next/
.wrangler/