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:

Moving Backgrounds With Mouse Position

Let's say you wanted to move the background-position on an element as you mouse over it to give the design a little pizzazz. You have ...