Tree Shaking

Removing unused code from the final build.

What is Tree Shaking?

Tree shaking removes code your app never uses from the final build, like shaking dead leaves off a tree. Services with providedIn: 'root' can be removed if nothing injects them.

Level: Master · More Angular terms at this level

Updated

In other subjects