Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Most js build systems don't do dead code removal. This ends up encouraging many small packages instead of bundling functionality into larger packages.

For example, there is a lodash package, but people don't want to include the whole thing, so now there is one package for each function:

https://www.npmjs.com/~jdalton

As far as I know this aspect is unique to nodejs/npm.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: