dalal-street-server
dalal-street-server copied to clipboard
Clean up bloat from bundle.js
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
Can we close this issue?? Isn't it done?? @ishanisri @PaiAkshay998