Skip to content

Tree-shaking is one of the technique used in dead-code elimination.

Notifications You must be signed in to change notification settings

muratcatal/tree-shaking-comparision

Repository files navigation

Tree-shaking in JavaScript

Tree-shaking is a technique to remove unused code blocks in your bundle. This sample implements how to configure different bundlers for tree-shaking and compares how different bundlers behave in that process.

How to run

3 bundlers implemented to compare tree-shaking.

yarn build:webpack yarn build:rollup yarn build:parcel

or you can run all. yarn build:all

About

Tree-shaking is one of the technique used in dead-code elimination.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published