@astrojs/cloudflare@14.1.2
Patch Changes
-
#17323
4298883Thanks @ematipico! - Fixes build-time image optimization ignoring a custom image service registered by an integrationPreviously, when using
imageService: 'compile'orimageService: 'custom', a custom image service was only respected if it was set directly in theimage.serviceoption ofastro.config. If an integration registered the service instead, images were silently optimized with the default Sharp service at build time. A custom image service now transforms your images at build time no matter how it was configured. -
#17323
4298883Thanks @ematipico! - Prebundlesastro/componentsand the<ClientRouter />transition runtime modules in the dev server environment so pages using them no longer trigger a mid-session dep optimizer reload, which caused React "Invalid hook call" errors in islands on the first request after a cold cache -
#17323
4298883Thanks @ematipico! - Fixes an issue wherevarsweren't available at build time. Now the adapter loadsvarsfrom the Wrangler config soastro:envpublic variables resolve at build time -
Updated dependencies []:
- @astrojs/underscore-redirects@1.0.3