3 ms·
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 exam
by justinsaccount 8y ago
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 https://www.npmjs.com/~jdalton
As far as I know this aspect is unique to nodejs/npm.