diff --git a/.changeset/poor-hounds-jump.md b/.changeset/poor-hounds-jump.md new file mode 100644 index 0000000000..2f1abb8ce8 --- /dev/null +++ b/.changeset/poor-hounds-jump.md @@ -0,0 +1,5 @@ +--- +'@backstage/cli': patch +--- + +Bumped the version range for `html-webpack-plugin` to fix the `htmlPluginExports.getCompilationHooks is not a function` error when using experimental Rspack. diff --git a/packages/cli/package.json b/packages/cli/package.json index d6b0041424..c59423d07e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -111,7 +111,7 @@ "global-agent": "^3.0.0", "globby": "^11.1.0", "handlebars": "^4.7.3", - "html-webpack-plugin": "^5.3.1", + "html-webpack-plugin": "^5.6.3", "inquirer": "^8.2.0", "jest": "^29.7.0", "jest-cli": "^29.7.0", diff --git a/yarn.lock b/yarn.lock index 738da2d156..12f4376793 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3961,7 +3961,7 @@ __metadata: global-agent: ^3.0.0 globby: ^11.1.0 handlebars: ^4.7.3 - html-webpack-plugin: ^5.3.1 + html-webpack-plugin: ^5.6.3 inquirer: ^8.2.0 jest: ^29.7.0 jest-cli: ^29.7.0 @@ -29378,7 +29378,7 @@ __metadata: languageName: node linkType: hard -"html-webpack-plugin@npm:^5.3.1": +"html-webpack-plugin@npm:^5.6.3": version: 5.6.3 resolution: "html-webpack-plugin@npm:5.6.3" dependencies: