html-webpack-plugin/CHANGELOG.md

5.1 KiB

Change History

v2.11.0

v2.10.0

v2.9.0

v2.8.2

v2.8.1

v2.8.0

  • Add dependency mode for chunksSortMode to sort chunks based on their dependencies with each other

v2.7.2

  • Add support for require in js templates

v2.7.1

  • Refactoring
  • Fix relative windows path

v2.6.5

  • Minor refactoring

v2.6.4

  • Fix for "Uncaught TypeError: __webpack_require__(...) is not a function"
  • Fix incomplete cache modules causing "HtmlWebpackPlugin Error: No source available"
  • Fix some issues on Windows

v2.6.3

  • Prevent parsing the base template with the html-loader

v2.6.2

v2.6.1

v2.6.0

  • Move compiler to its own file
  • Improve error messages
  • Fix global HTML_WEBPACK_PLUGIN variable

v2.5.0

v2.4.0

  • Don't recompile if the assets didn't change

v2.3.0

  • Add events html-webpack-plugin-before-html-processing, html-webpack-plugin-after-html-processing, html-webpack-plugin-after-emit to allow other plugins to alter the html this plugin executes

v2.2.0

v2.1.0

  • Synchronize with the stable @1 version

v2.0.4

  • Fix minify option
  • Fix missing hash interpolation in publicPath

v2.0.3

  • Add support for webpack.BannerPlugin

v2.0.2

v1.7.0

v1.6.2

  • Fix paths on Windows
  • Fix missing hash interpolation in publicPath
  • Allow only false or object in minify configuration option

v1.6.1

  • Add size field to the chunk object
  • Fix stylesheet <link>s being discarded when used with "inject: 'head'"
  • Update dependencies

v1.6.0

v1.5.2

  • Update dependencies (lodash)

v1.5.1

v1.5.0

  • Allow to inject javascript files into the head of the html page
  • Fix error reporting

v1.4.0

  • Add favicon.ico option
  • Add html minifcation

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).