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 shaking #3
Comments
@lednhatkhanh looks like a regression when we switched to using |
Seems like the ES module export is not discovered according to |
@devrnt that's the vanilla JS lib you're inspecting, not the React lib |
@rektdeckard Oops my bad, thanks to point out |
Seems like same behaviour is occuring in a default nextjs project. (see README.md) https://github.com/devrnt/nextjs-phosphor-react
TLDR: First load JS size
|
Has been fixed for me in version |
Yep, fixed up Rollup config in 78dec00. Glad to hear it's working for you! |
The whole package will be included when I import any icons from phosphor-react.
Could you please consider supporting tree shaking? Thank you.
The text was updated successfully, but these errors were encountered: