Investigates why redux-logger stays in production bundles, explores its UMD build, tries the 4.x ES module beta, and confirms tree-shaking once sideEffects is set.
Sep 14, 2024
An explanation of the sideEffects field in package.json, including its purpose, usage patterns, and how it enables effective tree shaking in Webpack builds.
Jul 18, 2021
Single-page applications (SPAs) offer a smooth user experience but often suffer from massive bundle sizes. Tree shaking is a crucial technique for eliminating 'dead code' and keeping your production assets lean.
Oct 4, 2019
When using AOT (Ahead-of-Time) compilation in Angular, lazy loading might fail silently, bundling everything into the main chunk. This post explores how versioning of build tools can cause this and how to fix it.
Jul 22, 2017