Skip to content

Commit c21e213

Browse files
authored
docs: htmlPaths typo (#3508)
1 parent 37ee425 commit c21e213

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/en/guide/migration/rsbuild-0-x.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ Includes:
403403

404404
- The `onBeforeBuild` hook supports triggering multiple times in watch mode.
405405
- Added `onBeforeEnvironmentCompile` and `onAfterEnvironmentCompile` hooks, which are triggered before/after executing the build of a single environment respectively.
406-
- Removed `api.getHtmlPath` and replaced it with `environment.htmlPaths`.
406+
- Removed `api.getHtmlPaths` and replaced it with `environment.htmlPaths`.
407407
- Removed `api.context.entry` and replaced it with `environment.entry`.
408408
- Removed `api.context.targets` and replaced it with `environment.target`.
409409
- Removed `rsbuildServer.onHTTPUpgrade` and replaced it with `rsbuildServer.connectWebSocket`.

website/docs/zh/guide/migration/rsbuild-0-x.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ Rsbuild 1.0 对插件、dev server 等 API 进行了部分调整和优化。
403403

404404
- `onBeforeBuild` 钩子在 watch 模式下支持触发多次。
405405
- 新增 `onBeforeEnvironmentCompile``onAfterEnvironmentCompile` 钩子,分别在执行单个 environment 的构建前/后触发。
406-
- 移除 `api.getHtmlPath`,改为 `environment.htmlPaths`
406+
- 移除 `api.getHtmlPaths`,改为 `environment.htmlPaths`
407407
- 移除 `api.context.entry`,改为 `environment.entry`
408408
- 移除 `api.context.targets`,改为 `environment.target`
409409
- 移除 `rsbuildServer.onHTTPUpgrade`,改为 `rsbuildServer.connectWebSocket`

0 commit comments

Comments
 (0)