Understanding your webpack config

webpack has a ridiculous number of settings and plugins that you can fine-tune to make your frontend more performant, have smaller bundles, and generally behave the way you expect it to.

The trick is taking the time to actually understand what the settings in your webpack config do.

The articles below cover a few settings and plugins (that were correct as of 2019-10-26) I use regularly, and can help optimise your webpack configuration.

Shameless plug

Tired of manually testing your web performance? I'd love to help!

Hi! I'm Max, the developer, designer, and customer support of PerfBeacon.com - a service that automatically runs Google Lighthouse for you (both on a schedule, and via API calls).

Get in touch with me via Twitter or Email.

Be first to know about new features and tips on web performance