-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Reduce JS parsers bundle size #12156
Reduce JS parsers bundle size #12156
Conversation
I guess because they both used in parser and printer? |
Move |
Yes, I was going to do that. |
|
Before, |
Extact utils to one function is good, but it's easy to trap into circular dependency |
Yeah, we need to be careful. Let's find an ESLint rule that can detect it? |
Description
The bundle size of each JS parser will be reduced by about 50kb.
main:
pr:
Checklist
docs/
directory).changelog_unreleased/*/XXXX.md
file followingchangelog_unreleased/TEMPLATE.md
.✨Try the playground for this PR✨