Comment on Tiny Treeshaker: JavaScript tree shaking in 200 lines of codeparentComments−shwestrick5y"opposite" is not the right term... tree-shaking appears to be a particular technique for dead code elimination.I.e., there are many algorithms you could use to eliminate dead code, and tree-shaking seems to just be a simple one that works well for JS.
Comments
"opposite" is not the right term... tree-shaking appears to be a particular technique for dead code elimination.
I.e., there are many algorithms you could use to eliminate dead code, and tree-shaking seems to just be a simple one that works well for JS.