FrontendPerformance
KW-0020

Tree Shaking

Concept
Meaning

process of removing unused code during build time so only necessary code is included in final bundle

Example

Unused utility functions are removed from final build to reduce bundle size

Reference
Relies on static analysis; improves performance by reducing output size
Related
bundlingdead code eliminationoptimization

Built with ♥ by Sakib