code: function createHtmlWebpackPluginHooks () {
    return {
      beforeAssetTagGeneration: new AsyncSeriesWaterfallHook(['pluginArgs']),
      alterAssetTags: new AsyncSeriesWaterfallHook(['pluginArgs']),
      alterAssetTagGroups: new AsyncSeriesWaterfallHook(['pluginArgs']),
      afterTemplateExecution: new AsyncSeriesWaterfallHook(['pluginArgs']),
      beforeEmit: new AsyncSeriesWaterfallHook(['pluginArgs']),
      afterEmit: new AsyncSeriesWaterfallHook(['pluginArgs'])
    };
  }
docs: Add hooks to the webpack compilation object to allow foreign plugins to
  extend the HtmlWebpackPlugin
  
  @returns {HtmlWebpackPluginHooks}