-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(vercel): Use Sharp in dev instead of Squoosh by default #8445
Conversation
🦋 Changeset detectedLatest commit: 121a249 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
8f5b205
to
1bc66ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Princesseuh -- Double check because it sounded like the changeset was saying the opposite of what the README was? Or I just missed something?
Made some quick suggestions below for your consideration!
Sorry, this PR went through a lot and some things ended up being outdated while I thought everything was done with it 😔 I'd love if you could re-review this, as the option changed, instead of being a boolean for Squoosh, it now allows you to choose between Sharp and Squoosh or your own image service, which leads to more flexibility |
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Changes
This changes the image service in dev to be Sharp powered like Astro's base service instead of Squoosh. The Squoosh one is still available if needed for people who can't install Sharp for various reasons.
This also fixes #8322
Testing
Added a test for SVGs and current tests still pass
Docs
The README was updated with the new config!