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:

How can you work with a JSON value if you know nothing about it?

I have talked about the difficulty of typing certain JSON values coming from some APIs. The JSON is just very complicated. When I do that,...