Tuesday, June 20, 2017

A dirty hack that took 30% off our Webpack size



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.

No comments:

bundlephobia

JavaScript bloat is a more real problem today than it ever was. Bundlephobia lets you understand the performance cost of adding a npm pack...