1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "app-router-playground",
"compatibility_date": "2026-02-12",
"compatibility_flags": ["nodejs_compat"],
"main": "./worker/index.ts",
"preview_urls": true,
"assets": {
"not_found_handling": "none",
// Expose static assets to the Worker via env.ASSETS so the image
// optimization handler can fetch source images programmatically.
"binding": "ASSETS"
},
// Cloudflare Images binding for next/image optimization.
// Enables resize, format negotiation (AVIF/WebP), and quality transforms
// at the edge. No user setup needed โ wrangler creates the binding automatically.
"images": {
"binding": "IMAGES"
}
}