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

Do three-globe support tree-shaking for webpack? #61

Open
KevinZhang19870314 opened this issue Aug 18, 2022 · 2 comments
Open

Do three-globe support tree-shaking for webpack? #61

KevinZhang19870314 opened this issue Aug 18, 2022 · 2 comments

Comments

@KevinZhang19870314
Copy link

I am using your awesome library in my project, but then I found that the bunder size is a little bit large, I am not sure thee-globe can support tree-shaking or not?

import ThreeGlobe from "three-globe";

image

@vasturiano
Copy link
Owner

@KevinZhang19870314 yes the module should be tree-shakeable. More info about it here:
https://bundlephobia.com/package/three-globe

@KevinZhang19870314
Copy link
Author

@KevinZhang19870314 yes the module should be tree-shakeable. More info about it here: https://bundlephobia.com/package/three-globe

Okay, so it means three-globe bundler size is normal and also has been tree shaked? If is it, then thank you, I'll take my time to look into other packages size in my bundler.

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

No branches or pull requests

2 participants