Updating the html-webpack-plugin to ^3.0.0 to get rid of the following stack trace:
var outputName = compilation.mainTemplate.applyPluginsWaterfall('asset-path', outputOptions.filename, {
^
TypeError: compilation.mainTemplate.applyPluginsWaterfall is not a function