fix: prevent static build failures for ImageKit images by bypassing A… - #5
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…stro's static image pipeline