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: reduce code size by externalHelpers #5730

Merged
merged 1 commit into from
Dec 27, 2022
Merged

Conversation

ClarkXia
Copy link
Collaborator

@ClarkXia ClarkXia commented Dec 20, 2022

swc compile options of module type is es6, so we need to transform @swc/helpers import statement when importer is commonjs.

reduce code size by enable externalHelpers:
image

@ClarkXia ClarkXia merged commit 815e072 into release/3.0 Dec 27, 2022
@ClarkXia ClarkXia deleted the fix/swc-helper branch December 27, 2022 01:50
@ClarkXia ClarkXia mentioned this pull request Dec 27, 2022
10 tasks
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