NebulousLabs / skynet-js

A Javascript module made to simplify communication with Sia Skynet portals from the browser.
https://nebulouslabs.github.io/skynet-js/
MIT License
32 stars 12 forks source link

Investigate large webpack bundles for skapps #321

Closed mrcnski closed 3 years ago

mrcnski commented 3 years ago

When a skapp imports skynet-js and builds with Webpack (what we recommend in tutorials), the resulting bundle pulls in the entire SDK, even if the skapp only used a single function from skynet-js (e.g. defaultPortalUrl()).

mrcnski commented 3 years ago

Closing in flavor of https://github.com/SkynetHQ/skynet-js/issues/6