Skip to content

fix: prevent static build failures for ImageKit images by bypassing A… - #5

Merged
imagekitio merged 4 commits into
mainfrom
fix-static-build
Sep 9, 2026
Merged

fix: prevent static build failures for ImageKit images by bypassing A…#5
imagekitio merged 4 commits into
mainfrom
fix-static-build

Conversation

@imagekitio

Copy link
Copy Markdown
Contributor

…stro's static image pipeline

  • Updated the image service to keep ImageKit URLs out of Astro's static image processing, ensuring they resolve to CDN URLs in all output modes.
  • Enhanced README to clarify that both local and ImageKit paths work in static, server, and prerendered routes.

manu4543 and others added 4 commits September 9, 2026 14:38
…stro's static image pipeline

- Updated the image service to keep ImageKit URLs out of Astro's static image processing, ensuring they resolve to CDN URLs in all output modes.
- Enhanced README to clarify that both local and ImageKit paths work in static, server, and prerendered routes.
…lows

- Updated the CI and publish workflows to install pnpm version 9.5.0 using npm instead of the pnpm action.
…rmats

- Modified image snapshots for the Image, Markdown, and Picture components to incorporate new transformation parameters, including `f-webp` and `f-avif`.
- Ensured that the examples reflect the latest usage patterns for optimized image delivery with ImageKit.
- Add a prerendered page to the server-output test app plus a spec that
  asserts ImageKit srcs stay on the CDN and local imports go through sharp
  at build time (fails with ENOENT on the pre-fix service).
- Add Astro 7 (@astrojs/node@^11) to the CI matrix and local script, with
  snapshots for astro-7 and for the new spec on every version.
- Run the node adapter entry directly in the start script: Astro 7's
  `astro preview` daemonizes and exits, which Playwright treats as an
  early exit.
- Install only Chromium in the local script; it is the only browser the
  Playwright config uses.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@imagekitio
imagekitio merged commit d94c55d into main Sep 9, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants