All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.2.0 (2018-04-03)
- loader: Allow to add new template parameters (f7eac19), closes #915
- loader: Use lodash inside the loader directly (7b4eb7f), closes #786
3.1.0 (2018-03-22)
3.0.8 (2018-03-22)
3.0.7 (2018-03-19)
3.0.6 (2018-03-06)
3.0.5 (2018-03-06)
- entries: do not ignore JS if there is also CSS (020b714)
- entries: Don't add css entries twice (0348d6b)
- hooks: Remove deprecated tapable calls #879 (2288f20)
3.0.4 (2018-03-01)
- entries: Don't add css entries twice (e890f23)
3.0.3 (2018-03-01)
- performance: Reduce the amount of chunk information gathered based on #825 (06c59a7)
3.0.2 (2018-03-01)
- query-loader: In case no query is provided, return an empty object. This fixes #727 (7587754)
3.0.1 (2018-03-01)
- package: Remove the extract-text-webpack-plugin peer dependency (57411a9)
3.0.0 (2018-28-02)
- Add support for the new webpack tapable to be compatible with webpack 4.x
- Remove bluebird dependency
- Similar to webpack 4.x the support for node versions older than 6 are no longer supported
- Add manual sort
- Performance improvements (#723)
- Add support for Webpack 3
- Backport 3.x void tag for plugin authors
- Revert 2.25.0 loader resolving
- 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. (#255) - Add support for webpack placeholders inside the public path e.g.
'/dist/[hash]/'
. (#249)
- Add
hash
field to the chunk object - Add
compilation
field to the templateParam object (#237) - Add
html-webpack-plugin-before-html-generation
event - Improve error messages
- Support relative URLs on Windows (#205)
- Caching improvements (#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 (#172)
- Fix missing module (#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 (#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 (#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 (#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 (#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 (#60)
- Don't include async chunks
- Update dependencies (lodash)
- Fix error when manifest is specified (#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).