-
Notifications
You must be signed in to change notification settings - Fork 353
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(swc): update binding to reduce package size #4687
Conversation
🦋 Changeset detectedLatest commit: d32947d The changes in this PR will be included in the next version bump. This PR includes changesets to release 257 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4687 +/- ##
==========================================
- Coverage 57.59% 53.75% -3.85%
==========================================
Files 672 664 -8
Lines 17794 18102 +308
Branches 3876 4148 +272
==========================================
- Hits 10249 9731 -518
- Misses 6934 7713 +779
- Partials 611 658 +47 ☔ View full report in Codecov by Sentry. |
Summary
old version swc binding has wrong package size, update to the correct one
🤖 Generated by Copilot at d15bc1b
This pull request updates the swc-related packages to use a custom binding for swc that reduces the package size and fixes the decorator feature. It also adds a changeset file and an integration test for the swc updates.
Details
🤖 Generated by Copilot at d15bc1b
@modern-js/swc-plugins
dependency to0.6.4
in@modern-js/builder-plugin-swc
and@modern-js/libuild-plugin-swc
packages to reduce package size with custom swc binding (link, link)_ts_decorate
helper function instead of@swc/helpers/esm/_decorate.js
module (link)Related Issue
Checklist
pnpm run change
.