Skip to content
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

fix: should not include everything when generate rspack plugin by unplugin #6708

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

ClarkXia
Copy link
Collaborator

@ClarkXia ClarkXia commented Dec 21, 2023

code: https://github.com/unjs/unplugin/blob/main/src/rspack/index.ts#L43

It will break binary file when use default load

Fix #6692

@ClarkXia ClarkXia added the need review Need Review label Dec 21, 2023
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7d193fe) 79.93% compared to head (4fe7dc3) 79.93%.
Report is 1 commits behind head on release/pack.

Additional details and impacted files
@@              Coverage Diff              @@
##           release/pack    #6708   +/-   ##
=============================================
  Coverage         79.93%   79.93%           
=============================================
  Files               218      218           
  Lines             19000    19000           
  Branches           2454     2454           
=============================================
  Hits              15188    15188           
  Misses             3781     3781           
  Partials             31       31           

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

@luhc228 luhc228 changed the title fix: should not include every thing when generate rspack plugin by unplugin fix: should not include everything when generate rspack plugin by unplugin Dec 22, 2023
@ClarkXia ClarkXia merged commit 817fa3a into release/pack Dec 22, 2023
6 checks passed
@ClarkXia ClarkXia deleted the fix/unplugin branch December 22, 2023 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need review Need Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants