Tree shaking

Dead code elimination technique

Summary

In computing, tree shaking is a dead code elimination technique that is applied when optimizing code. Often contrasted with traditional single-library dead code elimination techniques common to minifiers, tree shaking eliminates unused functions from across the bundle by starting at the entry point and only including functions that may be executed. It is succinctly described as "live code inclusion".

Originally created by Northern Moonlight

11/10/2023, 10:37:36 PM

Modified

11/10/2023, 10:37:36 PM

Recent revisions

Northern Moonlight11/10/2023, 10:37:36 PM

[[WP:AES|←]]Redirected page to [[Tree shaking]]

Contributors

Source: WikipediaView full article