Using the HTML Webpack Plugin for generating HTML files

Whilst most people use Webpack primarily for their JS scripts, there’s always one final part of deploying that is forgotten: the HTML. In production we often have extra scripts we want to insert (such as Google Analytics) and also we want to insert a script tag to the minified JavaScript and CSS, w…