Tree Shaking


Resource history | v1 (current) | created by jjones

Details

Tree Shaking

| created by jjones | Add topic "Tree shaking"
Title
Tree Shaking
Type
Web
Created
no value
Description
Tree shaking is a term commonly used in the JavaScript context for dead-code elimination. It relies on the static structure of ES2015 module syntax, i.e. import and export. The name and concept have been popularized by the ES2015 module bundler rollup. The webpack 2 release came with built-in support for ES2015 modules (alias harmony modules) as well as unused module export detection. The new webpack 4 release expands on this capability with a way to provide hints to the compiler via the "sideEffects" package.json property to denote which files in your project are "pure" and therefore safe to prune if unused.
Link
https://webpack.js.org/guides/tree-shaking/
Identifier
no value

authors

This resource has no history of related authors.

topics

about Tree shaking
v1 | attached by jjones | Add topic "Tree shaking"

resources

This resource has no history of related resources.