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

Clean up bloat from bundle.js #112

Open
thakkarparth007 opened this issue Jan 13, 2018 · 1 comment
Open

Clean up bloat from bundle.js #112

thakkarparth007 opened this issue Jan 13, 2018 · 1 comment
Assignees
Milestone

Comments

@thakkarparth007
Copy link
Member

thakkarparth007 commented Jan 13, 2018

The grpc-web library uses some TextEncoding library which uses a heck lot of space. And grpc-web uses it only to decode a Uint8Slice from to utf-8. There's absolutely no need for using that entire library (700-800kb) for that. Need to remove it somehow.

Also need to optimize the size of bundle.js besides just this issue. (https://www.man42.net/blog/2016/06/webpack-bundle-size-reduction/) provides a good way to find out stats about the dependencies:
webpack --production --json > stats.json

@adwaith007
Copy link
Contributor

Can we close this issue?? Isn't it done?? @ishanisri @PaiAkshay998

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants