-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
chore: Remove @sveltejs/enhanced-img
#905
Conversation
|
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Howdy, @AdrianGonz97 Given this recent P.R landing, JonasKruckenberg/imagetools#661, does this sound like a solution to the problem, ergo worth it re-introducing |
@shyakadavis How exciting! We'll definitely reimplement it once a release is published. Thanks! |
If you're ever short on time or the like, please let me know, and I'd be happy to submit a P.R. 🙂 |
Seems that it's merged and v7 is available !! |
This is nice to hear. Waiting on sveltejs/kit#12055 and we "should" be ready to go - hopefully. |
Howww yes you'r right ... I hope this will not be too long |
Last step: sveltejs/kit#12059 |
While
@sveltejs/enhanced-img
is a great plugin for optimizing images for SK, it unfortunately slows down our build pipeline by a significant amount. Previously, it would take a little under 2 minutes to complete a fresh build, whereas now it takes about 8 minutes.Currently, there's no available plugin/config option to cache the generated images, meaning that all images need to be processed (twice!) on every build. Our little GH runner just can't keep up.
We'll reevaluate once the ability to cache is implemented.
Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.pnpm format
andpnpm lint