|
|
|
|
|
by cakoose
1857 days ago
|
|
Adding to the confusion is this often-cited article: https://medium.com/@Rich_Harris/tree-shaking-versus-dead-cod... That article claims that "tree shaking" is different because: > Rather than excluding dead code, we’re including live code. That's a misunderstanding of the term "dead code elimination". Classic dead code elimination techniques have always worked by first identifying potentially live code and then eliminating the rest. |
|
Tree Shaking is dead code removal. They're one and the same.