Skip to content

Commit 4dc9fe2

Browse files
committed
fix: in TypeScript the renderStage option should be optional
1 parent a434ad2 commit 4dc9fe2

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

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

3+
## 4.11.1 (2024-12-27)
4+
5+
- fix: in TypeScript the `renderStage` option should be optional
6+
37
## 4.11.0 (2024-12-27)
48

59
- feat: add the `renderStage` option to define the stage for rendering output HTML in the processAssets Webpack hook

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-bundler-webpack-plugin",
3-
"version": "4.11.0",
3+
"version": "4.11.1",
44
"description": "Generates complete single-page or multi-page website from source assets. Build-in support for Markdown, Eta, EJS, Handlebars, Nunjucks, Pug. Alternative to html-webpack-plugin.",
55
"keywords": [
66
"html",

types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ declare namespace HtmlBundlerPlugin {
8686
/**
8787
* The stage to render final HTML in the `processAssets` Webpack hook.
8888
*/
89-
renderStage: null | number;
89+
renderStage?: null | number;
9090
/**
9191
* Whether comments should be extracted to a separate file.
9292
* If the file foo.js contains the license banner, then the comments will be stored to foo.js.LICENSE.txt.

0 commit comments

Comments
 (0)