feat: allow setting global quality defaults in config - #884
Conversation
✅ Live Preview ready!
|
👷 Deploy request for nuxt-image pending review.Visit the deploys page to approve it
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #884 +/- ##
==========================================
+ Coverage 89.71% 89.76% +0.05%
==========================================
Files 43 43
Lines 2770 2775 +5
Branches 311 312 +1
==========================================
+ Hits 2485 2491 +6
+ Misses 284 283 -1
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
You are a star - thank you ❤️ |
hartmut-co-uk
left a comment
There was a problem hiding this comment.
Great!
The solution should also apply quality at module config level to <nuxt-picture>, right?
Could you please also add tests to test/unit/picture.test.ts?
Thank you very much 🙏 I only added one test, should I add all the tests that I did for |
|
Fair enough, I think this is good to go! 💪 |
Hi there 👋
This PR allows setting the quality of the generated images in the module configuration.
Thank you very much for the amazing work 🚀