T

Tree Shaking

Definition

A dead code elimination technique used by JavaScript bundlers to remove unused exports from the final bundle. Tree shaking analyzes ES module import/export statements to determine which code is actually referenced, reducing the output file size.

Defined Term