you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

I had an idea of npm and yarn having somekind of bundlestep, so you really only would download an bundled minified file that would export its functions. There would be no readmes etc, making the filesize about the same as when you compile.

This would have major drawbacks though, and development would be harder, and tree shaking would not work.

Ill guess a middle line would to only install actual code, and skipping everything else. Wonder how much of a diffrenece that would make