Hacker News new | ask | show | jobs
by kaoD 2364 days ago
IIRC as long as you use ES modules, tree-shaking is trivial?

EDIT: not that trivial https://webpack.js.org/guides/tree-shaking/

1 comments

Hmm. Now that we have async functions meybe we could also add the pure keyword in order to help optimizations.