Skip to content

Commit

Permalink
fix: in TypeScript the renderStage option should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
webdiscus committed Dec 27, 2024
1 parent a434ad2 commit 4dc9fe2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## 4.11.1 (2024-12-27)

- fix: in TypeScript the `renderStage` option should be optional

## 4.11.0 (2024-12-27)

- feat: add the `renderStage` option to define the stage for rendering output HTML in the processAssets Webpack hook
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-bundler-webpack-plugin",
"version": "4.11.0",
"version": "4.11.1",
"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.",
"keywords": [
"html",
Expand Down
2 changes: 1 addition & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ declare namespace HtmlBundlerPlugin {
/**
* The stage to render final HTML in the `processAssets` Webpack hook.
*/
renderStage: null | number;
renderStage?: null | number;
/**
* Whether comments should be extracted to a separate file.
* If the file foo.js contains the license banner, then the comments will be stored to foo.js.LICENSE.txt.
Expand Down

0 comments on commit 4dc9fe2

Please sign in to comment.