What is Tree Shaking?
Tree shaking is a form of dead code elimination that removes unused exports from JavaScript bundles. Modern bundlers like webpack and Rollup perform tree shaking automatically.
A build optimization that eliminates unused code from JavaScript bundles to reduce file size.
Tree shaking is a form of dead code elimination that removes unused exports from JavaScript bundles. Modern bundlers like webpack and Rollup perform tree shaking automatically.
Explore all SEO and web performance terms
Use BulkAudit to measure tree shaking and other key metrics for your website.