this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add image API binding to template for image optimization (#1012)

Co-authored-by: Hinata Masaki <hinata@cloudflare.com>

authored by

pilcrow
Hinata Masaki
and committed by
GitHub
5f6c0a67 a644ee15

+16 -1
+5
.changeset/odd-pets-wash.md
··· 1 + --- 2 + "@opennextjs/cloudflare": patch 3 + --- 4 + 5 + Add image binding to Wrangler configuration template file
+5
create-cloudflare/next/wrangler.jsonc
··· 14 14 }, 15 15 "observability": { 16 16 "enabled": true 17 + }, 18 + "images": { 19 + // Enable image optimization 20 + // see https://opennext.js.org/cloudflare/howtos/image 21 + "binding": "IMAGES" 17 22 } 18 23 }
+6 -1
packages/cloudflare/templates/wrangler.jsonc
··· 18 18 // See https://developers.cloudflare.com/workers/wrangler/commands/#r2-bucket-create 19 19 "bucket_name": "cache" 20 20 } 21 - ] 21 + ], 22 + "images": { 23 + // Enable image optimization 24 + // see https://opennext.js.org/cloudflare/howtos/image 25 + "binding": "IMAGES" 26 + } 22 27 }