diff --git a/CHANGELOG.md b/CHANGELOG.md index e2ed2916..b2a593cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index acbf2360..d52f7446 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/types.d.ts b/types.d.ts index 897beb49..07653fe2 100644 --- a/types.d.ts +++ b/types.d.ts @@ -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.