dalal-street-server icon indicating copy to clipboard operation
dalal-street-server copied to clipboard

Clean up bloat from bundle.js

Open thakkarparth007 opened this issue 7 years ago • 1 comments

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

thakkarparth007 avatar Jan 13 '18 23:01 thakkarparth007

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

adwaith007 avatar Dec 15 '19 14:12 adwaith007