function templateParametersGenerator(compilation, assets, assetTags, options) {
  return {
    compilation: compilation,
    webpackConfig: compilation.options,
    htmlWebpackPlugin: {
      tags: assetTags,
      files: assets,
      options: options,
    },
  };
}
The default for options.templateParameter
Generate the template parameters

Generate the template parameters for the template function
@param {Compilation} compilation
@param {AssetsInformationByGroups} assets
@param {{
     headTags: HtmlTagObject[],
     bodyTags: HtmlTagObject[]
   }} assetTags
@param {ProcessedHtmlWebpackOptions} options
@returns {TemplateParameter}