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

Tree shake recharts #599

Closed
0xAeterno opened this issue Aug 12, 2022 · 1 comment
Closed

Tree shake recharts #599

0xAeterno opened this issue Aug 12, 2022 · 1 comment
Assignees
Labels
blocked wontfix This will not be worked on

Comments

@0xAeterno
Copy link
Contributor

recharts charting library does not tree shake its modules by default. As a result, the entire library is added to the app's bundle size.

We can treeshake the modules and reduce the apps bundle size by utilising this plugin from recharts.

@0xAeterno 0xAeterno self-assigned this Aug 12, 2022
@0xAeterno 0xAeterno added wontfix This will not be worked on blocked labels Aug 15, 2022
@0xAeterno
Copy link
Contributor Author

0xAeterno commented Aug 15, 2022

Can't be addressed atm since current versions break module imports.

recharts/babel-plugin-recharts#24

@0xAeterno 0xAeterno closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked wontfix This will not be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant