-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Helper methods do not need to be export functions #9203
Comments
cc @magic-akari Is there a reason we use |
It is used only within helpers. We can retain only the |
Guide for GFIYou need to patch swc/packages/helpers/scripts/build.js Lines 43 to 78 in 260f806
_ as the original name for re-export.
After then, you can patch files like https://github.com/swc-project/swc/blob/260f806d3e2a8350864c6e751949566f6a9654ff/packages/helpers/esm/_apply_decorated_descriptor.js to export only |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the feature
_
export is enough, and we can rename them while exporting.Babel plugin or link to the feature description
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: