Skip to content

feat: add support for plugin usage with dedicated wrappers and logging#2272

Draft
bjohansebas wants to merge 1 commit intonextfrom
plugin_support
Draft

feat: add support for plugin usage with dedicated wrappers and logging#2272
bjohansebas wants to merge 1 commit intonextfrom
plugin_support

Conversation

@bjohansebas
Copy link
Member

Summary

I still need to add tests. This is so that when webpack-dev-server is used as a plugin, we don’t flood the logs and it respects the webpack logger option.

What kind of change does this PR introduce?

Did you add tests for your changes?

Does this PR introduce a breaking change?

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Use of AI

@codecov
Copy link

codecov bot commented Mar 1, 2026

Codecov Report

❌ Patch coverage is 57.57576% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.53%. Comparing base (df7ddb4) to head (65c1005).

Files with missing lines Patch % Lines
src/index.js 55.17% 13 Missing ⚠️
src/utils/setupHooks.js 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2272      +/-   ##
==========================================
- Coverage   96.92%   95.53%   -1.40%     
==========================================
  Files          13       13              
  Lines         911      940      +29     
  Branches      266      275       +9     
==========================================
+ Hits          883      898      +15     
- Misses         28       42      +14     

☔ 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.

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.

1 participant