File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
影響範囲: ` Vite プラグイン作成者 `
10
10
11
11
::: warning 将来の廃止予定
12
- ` hotUpdate ` は ` v6.0 ` で初めて導入されました。` handleHotUpdate ` の廃止は将来のメジャーバージョンで予定されています。現時点では、まだ ` handleHotUpdate ` からの移行は推奨していません。もし実験して私たちにフィードバックをしたいのであれば、vite config で ` future.removePluginHookHandleHotUpdate ` を ` "warn" ` に指定してください。
12
+ ` hotUpdate ` は ` v6.0 ` で初めて導入されました。` handleHotUpdate ` の廃止は将来のメジャーバージョンで予定されています。現時点では ` handleHotUpdate ` からの移行は推奨していません。もし実験して私たちにフィードバックをしたいのであれば、vite config で ` future.removePluginHookHandleHotUpdate ` を ` "warn" ` に指定してください。
13
13
:::
14
14
15
15
## 動機
16
16
17
- [ ` handleHotUpdate ` フック] ( /guide/api-plugin.md#handlehotupdate ) はカスタム HMR 更新処理を行うことができます。更新するモジュールのリストは ` HmrContext ` に渡されます
17
+ [ ` handleHotUpdate ` フック] ( /guide/api-plugin.md#handlehotupdate ) はカスタム HMR 更新処理を行うことができます。更新するモジュールのリストは ` HmrContext ` に渡されます。
18
18
19
19
``` ts
20
20
interface HmrContext {
You can’t perform that action at this time.
0 commit comments