Re:Tiny Treeshaker: JavaScript tree shaking in 200 lines of ...
by aarchi on Tuesday June 29, 2021 @07:44AM
(#27674486)
They both start at the entry block (or exported symbols if it's a lib) and traverse the program graph, keeping only live branches. There is no “other direction”. Tree shaking is the same as dead code elimination.
[ Parent
| on HN ]
There are no comments on this comment yet.