A Dirty Webpack Trick That Reduced Our gzipped Bundle Size by 55KB

At my day job, we’re using Webpack 2 to make our JavaScript as small as possible.
Bundle splitting ensures web apps get only the code they need, individual vendor files ensure caching stays as stable as possible, dead code elimination and tree shaking make our files small. Everything is minified and gzipped and cached forever. Fingerprinting ensures the code you download is never stale.

Link: https://dzone.com/articles/a-dirty-webpack-trick-that-reduced-our-gzipped-bun?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev