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

Incorrect gzip estimate #658

Open
reintroducing opened this issue Oct 9, 2019 · 0 comments
Open

Incorrect gzip estimate #658

reintroducing opened this issue Oct 9, 2019 · 0 comments

Comments

@reintroducing
Copy link

Reading through the README, the statement given is It requires no frameworks, and is only ~13K gzipped. From what I can see, that is not correct. I ran Webpack Bundle Analyzer on my bundle and saw the following:
Screenshot 2019-10-09 08 58 05

Furthermore, our team uses an extremely small subset of the SDK. The three methods we use are init, link, and setBranchViewData. It would be great if you guys can provide exports in a way thats conducive to only importing what you need from the SDK so that you can cut down on the bundle size dramatically when not using everything that this SDK provides. Some simple lodash type imports like import link from 'branch-sdk/link' or similar would be great.

Any thoughts on this?

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

1 participant