How to Fully Optimize Webpack 4 Tree Shaking

A few months back I was tasked with upgrading my team's React build configuration to Webpack 4. One of our main goals was to take advantage of tree-shaking, where Webpack strips out code that you're not actually using to reduce your bundle size. Now, the benefits of tree shaking will vary depending on your codebase.

Actions
Connections