chore(deps): update dependency html-webpack-plugin to v5
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
html-webpack-plugin | devDependencies | major | 4.5.1 -> 5.0.0 |
Release Notes
jantimon/html-webpack-plugin
v5.0.0
⚠ BREAKING CHANGES
- Drop support for
webpack
4 andnode
<= 10 - For older webpack or node versions please usehtml-webpack-plugin
4.x - Entry javascript resources are now beeing loaded deferred in the
<head>
tag to improve the page load performance by default - You can set thescriptLoading
option to'blocking'
to keep the previous behaviour - Setting publicPath to
''
(an empty string) will no longer calculate a relative path from the html file to the assets anymore - You can set thepublicPath
option to'auto'
to keep the previous behaviour - Plugins for
html-webpack-plugin
which add additional assetTags should provide ameta
attribute - Drop support for
appcache-webpack-plugin
Features
- drop
webpack
4 andnode
<= 10 support to make use of the latest APIs (b7a9e8f) - use the new webpack 5 APIs and create html files during the new
webpack.Compilation.MROCESS_ASSETS_STAGE_ADDITIONS
compilation stage (8964bc4, b6895cb, a97234e, 1b59e09, 4fca596, ed64a6b, 86245db, 50b3bec, c697725) - allow generating one file per chunk with the new
'[name]'
placeholder for thefilename
option (cd5bd2a, 3d9ff48) - the
filename
option can now be a function (c5beb4b) - add support for
'auto'
public paths inside templates (a059fcf, b09b439) - use defer as default script loading mechanism (35b6b87)
- allow to set publicPath to an empty string
''
(5ea7de4) - improve typings (197ddd8)
- provide public path to the alterAssetTagGroups hook (1b54dfb)
- provide public path to the alterAssetTags hook (b754626)
- use
thisCompilation
in child compiler for faster builds (1d59e9a) - export new major in static property (8b692bd)
- reduce dependencies (8c28aaa, 56e633f)
Bug Fixes
- emit files on every build to work properly with plugins like the clean-webpack-plugin (6b3d087)
- generate html files even if no webpack entry exists (2693dfa)
- keep binary format when adding assets (7e2b208), closes #1537
4.5.1 (2021-01-03)
Bug Fixes
- inject javascripts in the tag for inject:true and scriptLoading:'defer' (4f7064e)
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.