- Backport 3.x void tag for plugin authors
- Revert 2.25.0 loader resolving
- Fix a chunksorter webpack 2 issue (#569)
- Fix template path resolving(#542)
- Allow plugins to add attributes without values to the
<script>
and<link>
tags
- Clearer loader output
- Add basic support for webpack 2
- Hide event deprecated warning of 'applyPluginsAsyncWaterfall' for html-webpack-plugin-after-emit and improve the warning message.
- Update dependencies
- Add deprecate warning for plugins not returning a result
- Add [path] for favicons
- Update dependencies
- Stop automated tests for webpack 2 beta because of #401
- Update dependencies
- Better error handling (#354)
- Add
html-webpack-plugin-alter-asset-tags
event to allow plugins to adjust the script/link tags
- Exclude chunks works now even if combined with dependency sort
- Add
html-webpack-plugin-alter-chunks
event for custom chunk sorting and interpolation
- Updated all dependencies
- Add
type
attribute toscript
element to prevent issues in Safari 9.1.1
- Fix bug introduced by 2.16.2. Fixes #315
- Fix hot module replacement for webpack 2.x
- Add support for dynamic filenames like index[hash].html
- Add full unit test coverage for the webpack 2 beta version
- For webpack 2 the default sort will be 'dependency' instead of 'id'
- Upgrade dependencies
- Export publicPath to the template
- Add example for inlining css and js
- Add support for absolute output file names
- Add support for relative file names outside the output path
- Basic Webpack 2.x support #225
- Add
xhtml
option which is turned of by default. When activated it will inject self closed<link href=".." />
tags instead of unclosed<link href="..">
tags. jantimon#255 - Add support for webpack placeholders inside the public path e.g.
'/dist/[hash]/'
. jantimon#249
- Add
hash
field to the chunk object - Add
compilation
field to the templateParam object (fixes jantimon#237) - Add
html-webpack-plugin-before-html-generation
event - Improve error messages
- Fix favicon path (fixes jantimon#185, jantimon#208, jantimon#215 )
- Support relative URLs on Windows (fixes jantimon#205 )
- Caching improvements (fixes jantimon#204 )
- Add
dependency
mode forchunksSortMode
to sort chunks based on their dependencies with each other
- Add support for require in js templates
- Refactoring
- Fix relative windows path
- Minor refactoring
- 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
- Prevent parsing the base template with the html-loader
- Fix
lodash
resolve error (fixes jantimon#172 )
- Fix missing module (fixes jantimon#164 )
- Move compiler to its own file
- Improve error messages
- Fix global HTML_WEBPACK_PLUGIN variable
- Support
lodash
template's HTML "escape" delimiter (<%- %>
) - Fix bluebird warning (fixes jantimon#130 )
- Fix an issue where incomplete cache modules were used
- Don't recompile if the assets didn't change
- 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
- Inject css and js even if the html file is incomplete (fixes jantimon#135 )
- Update dependencies
- Synchronize with the stable
@1
version
- Fix
minify
option - Fix missing hash interpolation in publicPath
- Add support for webpack.BannerPlugin
- Add support for loaders in templates (fixes jantimon#41 )
- Remove
templateContent
option from configuration - Better error messages
- Update dependencies
- Add
chunksSortMode
option to configuration to control how chunks should be sorted before they are included to the html - Don't insert async chunks into html (fixes jantimon#95 )
- Update dependencies
- Fix paths on Windows
- Fix missing hash interpolation in publicPath
- Allow only
false
orobject
inminify
configuration option
- Add
size
field to the chunk object - Fix stylesheet
<link>
s being discarded when used with"inject: 'head'"
- Update dependencies
- Support placing templates in subfolders
- Don't include chunks with undefined name (fixes jantimon#60 )
- Don't include async chunks
- Update dependencies (lodash)
- Fix error when manifest is specified (fixes jantimon#56 )
- Allow to inject javascript files into the head of the html page
- Fix error reporting
- Add
favicon.ico
option - Add html minifcation
- 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 oldo.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).