Skip to content

Loading speed, web and servers

tree shaking

Definition
Tree shaking is a step in building JavaScript files that automatically removes unused code. Only what the website actually calls remains. This makes the files visitors have to load smaller and shortens execution in the browser.