Repository navigation
feat(gatsby-plugin-sharp): reduce encoding time and install size - #32851
Conversation
- Upgrade sharp to v0.29.0 - Replace use of imagemin with sharp equivalents - Reduces JPEG, PNG and AVIF encoding time by up to 50% - Reduces install size/time by ~10% (~19MB smaller)
|
The |
So this is in our plugin, not sharp itself? |
Yes, this PR removes the GPLv3 pngquant-bin dependency from Gatsby via the removal of |
I checked syncinc version of |
LekoArts
left a comment
There was a problem hiding this comment.
Thanks! We'll merge and publish under next tag and before the 3.13 release check is everything works :) Thanks for your work!
…sbyjs#32851) * feat(gatsby-plugin-sharp): reduce encoding time and install size - Upgrade sharp to v0.29.0 - Replace use of imagemin with sharp equivalents - Reduces JPEG, PNG and AVIF encoding time by up to 50% - Reduces install size/time by ~10% (~19MB smaller) * sync sharp version in all packages (gatsbyjs#1) Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
Description
AVIF files produces are invalid and not displayed by recent Chrome Canary lovell/sharp#2666
Related Issues
Fixes #31792