Add topic "Tree shaking" Accepted
Changes: 4
-
Add Tree Shaking
- Title
-
- Unchanged
- Tree Shaking
- Type
-
- Unchanged
- Web
- Created
-
- Unchanged
- no value
- Description
-
- Unchanged
- 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
-
- Unchanged
- https://webpack.js.org/guides/tree-shaking/
- Identifier
-
- Unchanged
- no value
Resource | v1 | current (v1) -
Add Tree shaking
- Title
-
- Unchanged
- Tree shaking
- Description
-
- Unchanged
- In computing, tree shaking is a dead code elimination technique that is applied when optimizing code written in ECMAScript dialects like Dart, JavaScript, or TypeScript into a single bundle that is loaded by a web browser. 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".
- Link
-
- Unchanged
- https://en.wikipedia.org/?curid=53733190
Topic | v1 | current (v1) -
Add Tree shaking treated in Tree Shaking
- Current
- treated in
Topic to resource relation | v1 -
Add Computer programming parent of Tree shaking
- Current
- parent of
Topic to topic relation | v1