fix(cloudflare): preserve passthrough image service in compile mode #18032

Merged
adamchal opened 3:39pm on September 16, 2026 wanted to merge 28 Ξ” into withastro/astro main from
fix-17968
adamchal authored
of work during September 16
Diff Delta:
28
About 6 Diff Delta/hour
Classified as:  General

adamchal's Description of Work

Changes


  • Gives passthroughImageService() precedence when using imageService: 'compile', fixing image requests during development and on-demand rendering.

  • Adds a warning when this overrides an explicitly configured runtime: 'cloudflare-binding'.

Testing


  • Adds test to cover passthrough precedence when combined with 'compile'.

Docs

N/a

Closes #17968

Building updated commit group diff...
4 total changed files
Loading changes...
Loading changes...
Loading changes...