Skip to content

Commit

Permalink
docs: clarify when transformIndexHtml hook runs or not (#1504)
Browse files Browse the repository at this point in the history
resolve #1501

vitejs/vite@a7f9827 の反映です。
  • Loading branch information
shuuji3 authored Jul 23, 2024
1 parent 513e51d commit b9e0556
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions guide/api-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ Vite プラグインは Vite 特有の目的を果たすフックを提供する
}
```

::: warning 注意
エントリーファイルのカスタム処理があるフレームワークを使用している場合、このフックは呼ばれません(たとえば、[SvelteKit](https://github.com/sveltejs/kit/discussions/8269#discussioncomment-4509145))。
:::

### `handleHotUpdate`

- **:** `(ctx: HmrContext) => Array<ModuleNode> | void | Promise<Array<ModuleNode> | void>`
Expand Down

0 comments on commit b9e0556

Please sign in to comment.