All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
The summary can be found in the release blog post.
contenthash
along with templatehash
(049d4d3), closes #1033contenthash
to templatehash
(4c11c5d).toString
implementation to htmlTags to allow easier rendering (34d8aa5){ entryName: string, path: string}
<script>
and <link>
tagshtml-webpack-plugin-alter-asset-tags
event to allow plugins to adjust the script/link tagshtml-webpack-plugin-alter-chunks
event for custom chunk sorting and interpolationtype
attribute to script
element to prevent issues in Safari 9.1.1xhtml
option which is turned of by default. When activated it will inject self closed <link href=".." />
tags instead of unclosed <link href="..">
tags. (#255)'/dist/[hash]/'
. (#249)hash
field to the chunk objectcompilation
field to the templateParam object (#237)html-webpack-plugin-before-html-generation
eventdependency
mode for chunksSortMode
to sort chunks based on their dependencies with each other"Uncaught TypeError: __webpack_require__(...) is not a function"
lodash
resolve error (#172)lodash
template's HTML "escape" delimiter (<%- %>
)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@1
versionminify
optiontemplateContent
option from configurationchunksSortMode
option to configuration to control how chunks should be sorted before they are included to the htmlfalse
or object
in minify
configuration optionsize
field to the chunk object<link>
s being discarded when used with "inject: 'head'"
favicon.ico
optionhash: true
) for cache bustingo.htmlWebpackPlugin.files
attribute. See readme for more
details. This new attribute deprecates the old o.htmlWebpackPlugin.assets
attribute.templateContent
option can now be a function that returns the template string to useo.webpackConfig
)