File
Blob: src/workerd/api/tests/opennextjs/src/wrangler.jsonc
| 1 | /** |
| 2 | * For more details on how to configure Wrangler, refer to: |
| 3 | * https://developers.cloudflare.com/workers/wrangler/configuration/ |
| 4 | */ |
| 5 | { |
| 6 | "$schema": "node_modules/wrangler/config-schema.json", |
| 7 | "name": "opennextjs-ssr-test", |
| 8 | "main": ".open-next/worker.js", |
| 9 | "compatibility_date": "2025-12-01", |
| 10 | "compatibility_flags": [ |
| 11 | "nodejs_compat", |
| 12 | "global_fetch_strictly_public" |
| 13 | ], |
| 14 | "assets": { |
| 15 | "binding": "ASSETS", |
| 16 | "directory": ".open-next/assets" |
| 17 | }, |
| 18 | "images": { |
| 19 | // Enable image optimization |
| 20 | // see https://opennext.js.org/cloudflare/howtos/image |
| 21 | "binding": "IMAGES" |
| 22 | }, |
| 23 | "services": [ |
| 24 | { |
| 25 | // Self-reference service binding, the service name must match the worker name |
| 26 | // see https://opennext.js.org/cloudflare/caching |
| 27 | "binding": "WORKER_SELF_REFERENCE", |
| 28 | "service": "opennextjs-ssr-test" |
| 29 | } |
| 30 | ], |
| 31 | "observability": { |
| 32 | "enabled": true |
| 33 | } |
| 34 | } |