-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add tree-shaking to the metro bundling process #127
Labels
feature: metro
This is related to Metro
Comments
4 tasks
I had a quick look at the prototype PR:
|
Result from investigating Hermes' impact on bundle size when it comes to tree shaking:
Setup:
|
Addressed by #292. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Tree-shaking is the practice of finding and excluding unused JS code when assembling a bundle file. It has been historically absent from Metro, despite several attempts to get it added over the years. A prototype implementation has recently gained traction, and should be the starting point for this work.
The text was updated successfully, but these errors were encountered: