Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
mdavidn
10y ago
0 comments
Share
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.
undefined | Better HN
0 comments
default
newest
oldest
doque
10y ago
Webpack 2 will support this:
http://www.2ality.com/2015/12/webpack-tree-shaking.html
esailija
10y ago
Yes it can
https://github.com/rollup/rollup
. Webpack 2.x can also do this.
j
/
k
navigate · click thread line to collapse