Comment by mdavidn
11 years ago
I think b) is true only because JavaScript tooling cannot perform dead code elimination. Other languages have big grab-bag utility libraries like lodash that don't hinder performance because a linker or runtime can avoid loading unused portions.
Webpack 2 will support this: http://www.2ality.com/2015/12/webpack-tree-shaking.html
Yes it can https://github.com/rollup/rollup. Webpack 2.x can also do this.