Tree shaking is a form of dead code elimination.
- What is tree shaking
- How to find opportunities to shake a tree
- How to use webpack to implement tree shaking in sample app
- How to keep Babel from transpiling ES6 modules to CommonJS modules
- About keeping side effects in mind
- And how to import only what we need
And of course example code is included. Excellent read![Read More]