wealthica / vezgo-sdk-js

MIT License
17 stars 5 forks source link

Size of browser build is pretty big #78

Open zcuric opened 3 months ago

zcuric commented 3 months ago

Hi, I've been optimizing the bundle for a project I'm working on and we've noticed that vezgo.es5.js bundle is half of our total build.

image

I have been experimenting with updating the build process to a modern way without webpack and separate build for browser and node. But it changes a lot of stuff. Here is the draft output. It still needs some tweaks, there are some issues with apisauce.

image

If you are interested I can make a PR, but it would be a 2.0 version with a lot of breaking changes.

Here is the draft:

https://github.com/zcuric/vezgo-sdk-js/pull/1/files