Technical definition
Tree shaking
A build optimisation that removes exports proven to be unused from the production bundle.
What It Means
Tree shaking relies on statically analysable module syntax and package metadata to eliminate unreachable code. Side effects and incompatible module formats can prevent effective removal.