Build(deps-dev): Bump html-bundler-webpack-plugin from 3.17.4 to 4.0.0
Bumps html-bundler-webpack-plugin from 3.17.4 to 4.0.0.
Release notes
Sourced from html-bundler-webpack-plugin's releases.
v4.0.0
BREAKING CHANGES
Supports Node.js version
18+
.Supports Webpack version
5.81+
.The plugin
option
property is not static anymore:OLD (up to v3.x)
class MyPlugin extends HtmlBundlerPlugin { constructor(options = {}) { super({ ...options }); } init(compiler) { // MyPlugin.option. ...; <= was as static property } }
NEW (since v4.0)
class MyPlugin extends HtmlBundlerPlugin { constructor(options = {}) { super({ ...options }); } init(compiler) { // this.option. ...; <= now is non static property } }
Using the
addProcess()
plugin method is changed:OLD (up to v3.x)
class MyPlugin extends HtmlBundlerPlugin { constructor(options = {}) { super({ ...options }); } init(compiler) { // the method was as property of the static `option` MyPlugin.option.addProcess('postprocess', (content) => { return content; }); } }
NEW (since v4.0)
... (truncated)
Changelog
Sourced from html-bundler-webpack-plugin's changelog.
4.0.0 Release (24-09-08)
BREAKING CHANGES
Minimum supported Node.js version
18+
.
The plugin may works on the Node.js >=16.20.0
, but we can't test the plugin with outdated Node.js versions. GitHub CI test works only on Node.js >= 18. Many actual dev dependencies requires Node.js >= 18.Minimum supported Webpack version
5.81+
.The plugin
option
property is not static anymore:OLD (up to v3.x)
class MyPlugin extends HtmlBundlerPlugin { constructor(options = {}) { super({ ...options }); } init(compiler) { // MyPlugin.option. ...; <= was as static property } }
NEW (since v4.0)
class MyPlugin extends HtmlBundlerPlugin { constructor(options = {}) { super({ ...options }); } init(compiler) { // this.option. ...; <= now is non static property } }
Using the
addProcess()
plugin method is changed:OLD (up to v3.x)
class MyPlugin extends HtmlBundlerPlugin { constructor(options = {}) { super({ ...options }); } init(compiler) { // the method was as property of the static `option` MyPlugin.option.addProcess('postprocess', (content) => { return content; }); }
... (truncated)
Commits
-
e30c8c4
release v4.0.0 -
236e2ec
test: add test for order css imported in js and using split chunks -
3244e63
chore: code refactoring, invisible improvements, test this version with your ... -
c459eaa
fix: ERROR in RealContentHashPlugin in serv/watch mode after adding new impor... -
d245481
fix: when using integrity occurs ERROR in RealContentHashPlugin in serv/watch... -
1aca813
release v4.0.0.beta.0 - See full diff in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts