html-webpack-plugin/CHANGES.md

1.1 KiB

Change History

HEAD

  • Add favicon.ico and apple-touch-icon.png to the HTML

v1.2.0

  • Set charset using HTML5 meta attribute
  • Reload upon change when using webpack watch mode
  • Generate manifest attribute when using appcache-webpack-plugin
  • Optionally add webpack hash as a query string to resources included in the HTML (hash: true) for cache busting
  • CSS files generated using webpack (for example, by using the extract-text-webpack-plugin) are now automatically included into the generated HTML
  • More detailed information about the files generated by webpack is now available to templates in the o.htmlWebpackPlugin.files attribute. See readme for more details. This new attribute deprecates the old o.htmlWebpackPlugin.assets attribute.
  • The templateContent option can now be a function that returns the template string to use
  • Expose webpack configuration to templates (o.webpackConfig)
  • Sort chunks to honour dependencies between them (useful for use with CommonsChunkPlugin).