Skip to content

Commit 3244e63

Browse files
committed
chore: code refactoring, invisible improvements, test this version with your projects
1 parent c459eaa commit 3244e63

6 files changed

Lines changed: 111 additions & 115 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change log
22

3+
## 4.0.0-beta.3 (2024-08-16)
4+
5+
- chore: code refactoring, invisible improvements, test this version with your projects
6+
37
## 4.0.0-beta.2 (2024-08-15)
48

59
- fix: ERROR in RealContentHashPlugin in serv/watch mode after adding new import file
@@ -12,10 +16,12 @@
1216

1317
### BREAKING CHANGES
1418

15-
- Drop supporting for Node.js < `v18`.\
16-
The plugin works on the Node.js >= `v14.21.xx`, but we can't test the plugin with outdated Node.js versions,
17-
because many actual dev dependencies requires current LTS Node.js >= v18.x.
18-
Up-to-date versions of dependencies are very important because they contain `security updates`.
19+
- Minimum supported Node.js version `18+`.\
20+
The plugin may works on the Node.js >= `16.20.0`, but we can't test the plugin with outdated Node.js versions.
21+
GitHub CI test works only on Node.js >= 18.
22+
Many actual dev dependencies requires Node.js >= 18.
23+
24+
- Minimum supported Webpack version `5.81+`.
1925

2026
- The plugin `option` property is not static anymore:
2127

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ All source file paths in dependencies will be resolved and auto-replaced with co
113113
- Generates the [integrity](#option-integrity) attribute in the `link` and `script` tags.
114114
- Generates the [favicons](#favicons-bundler-plugin) of different sizes for various platforms.
115115
- You can create **own plugin** using the [Plugin Hooks](#plugin-hooks-and-callbacks).
116-
- Over 550 [tests](https://github.com/webdiscus/html-bundler-webpack-plugin/tree/master/test).
116+
- Over 600 [tests](https://github.com/webdiscus/html-bundler-webpack-plugin/tree/master/test).
117117

118118
See the [full list of features](#features).
119119

@@ -146,9 +146,9 @@ See [how the plugin works under the hood](#plugin-hooks-and-callbacks).
146146

147147
- **Simplify Webpack config** using one powerful plugin instead of many [different plugins and loaders](#list-of-plugins).
148148

149-
- **Start from HTML**, not from JS. Define an **HTML** template file as an **entry point**.
149+
- **Start from HTML**, not from JS. Define an HTML template file as an **entry point**.
150150

151-
- Specify script and style **source files** directly in an **HTML** template,
151+
- Specify script and style **source files** directly in a template,
152152
and you no longer need to define them in Webpack entry or import styles in JavaScript.
153153

154154
- Use **any template engine** without additional plugins and loaders.
@@ -169,7 +169,7 @@ If you have discovered a bug or have a feature suggestion, feel free to create a
169169

170170
## 🔆 What's New in v4
171171

172-
- **NEW** added supports the [multiple configurations](https://webpack.js.org/configuration/configuration-types/#exporting-multiple-configurations)
172+
- **NEW** added supports the [multiple configurations](https://webpack.js.org/configuration/configuration-types/#exporting-multiple-configurations).
173173

174174
## 🔆 What's New in v3
175175

@@ -186,7 +186,7 @@ If you have discovered a bug or have a feature suggestion, feel free to create a
186186

187187
- **NEW** added importing style files in JavaScript.
188188
- **NEW** added support the [integrity](#option-integrity).
189-
- **NEW** you can add/delete/rename a template file in the [entry path](#option-entry-path) without restarting Webpack
189+
- **NEW** you can add/delete/rename a template file in the [entry path](#option-entry-path) without restarting Webpack.
190190

191191
For full release notes see the [changelog](https://github.com/webdiscus/html-bundler-webpack-plugin/blob/master/CHANGELOG.md).
192192

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-bundler-webpack-plugin",
3-
"version": "4.0.0-beta.2",
3+
"version": "4.0.0-beta.3",
44
"description": "HTML bundler plugin for webpack handles a template as an entry point, extracts CSS and JS from their sources referenced in HTML, supports template engines like Eta, EJS, Handlebars, Nunjucks.",
55
"keywords": [
66
"html",
@@ -89,7 +89,7 @@
8989
}
9090
},
9191
"engines": {
92-
"node": ">=14.21.0"
92+
"node": ">=16.20.0"
9393
},
9494
"peerDependencies": {
9595
"ejs": ">=3.1.9",
@@ -103,7 +103,7 @@
103103
"prismjs": ">=1.29.0",
104104
"pug": ">=3.0.2",
105105
"twig": ">=1.17.1",
106-
"webpack": ">=5.32.0"
106+
"webpack": ">=5.81.0"
107107
},
108108
"peerDependenciesMeta": {
109109
"favicons": {

0 commit comments

Comments
 (0)