Skip to content

Conversation

@Leon338
Copy link

@Leon338 Leon338 commented Nov 20, 2025

Hey!

I noticed a small bug where webp sources were showing up twice inside NuxtPicture if you explicitly added them to your config (it was merging with the defaults and doubling up).

Quick question:
I also thought about just removing the webp default entirely if the user provides a custom config, but I wasn't sure if that would be considered a breaking change. Let me know if you think that's a cleaner path!

@Leon338 Leon338 requested a review from danielroe as a code owner November 20, 2025 23:16
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 20, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/image@2038

commit: b9790e5

@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 6.99%. Comparing base (db87207) to head (b9790e5).

Files with missing lines Patch % Lines
src/module.ts 0.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #2038      +/-   ##
========================================
- Coverage   6.99%   6.99%   -0.01%     
========================================
  Files         78      78              
  Lines       3629    3632       +3     
  Branches     140     140              
========================================
  Hits         254     254              
- Misses      3326    3329       +3     
  Partials      49      49              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@danielroe danielroe changed the title fix: prevent duplicate webp generation fix: deduplicate formats Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants