Skip to content

Commit 2195ae5

Browse files
authored
Merge pull request #1261 from vitejs/sync-b701a372-1
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ b701a37
2 parents 5c726fd + ac5df76 commit 2195ae5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

changes/hotupdate-hook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
影响范围:`Vite 插件作者`
1010

1111
::: warning 即将废弃
12-
`hotUpdate` 钩子最初在 `v6.0` 版本中引入。我们计划在 `v7.0` 版本中废弃 `handleHotUpdate` 钩子。我们目前还不建议你停止使用 `handleHotUpdate`。如果你想尝试并向我们提供反馈,你可以在你的 vite 配置文件中将 `future.removePluginHookHandleHotUpdate` 设置为 `"warn"`
12+
`hotUpdate` 钩子最初在 `v6.0` 版本中引入。我们计划在未来的 major 版本中废弃 `handleHotUpdate` 钩子。我们目前还不建议你停止使用 `handleHotUpdate`。如果你想尝试并向我们提供反馈,你可以在你的 vite 配置文件中将 `future.removePluginHookHandleHotUpdate` 设置为 `"warn"`
1313
:::
1414

1515
## 动机 {#motivation}

changes/per-environment-apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
影响范围:`Vite 插件作者`
1010

1111
::: warning 即将废弃
12-
`环境`实例首次在 `v6.0` 中引入。计划在 `v7.0` 中废弃现在的 `server.moduleGraph` 和其他方法。我们不建议你现在就放弃 server 方法。要识别你的使用情况,请在你的 vite 配置中设置以下。
12+
`环境`实例首次在 `v6.0` 中引入。计划在未来的 major 版本中废弃现在的 `server.moduleGraph` 和其他方法。我们不建议你现在就放弃 server 方法。要识别你的使用情况,请在你的 vite 配置中设置以下。
1313

1414
```ts
1515
future: {

changes/this-environment-in-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
影响范围:`Vite 插件作者`
1010

1111
::: warning 即将废弃
12-
`this.environment` 最初在 `v6.0` 版本中被引入。我们计划在 `v7.0` 版本中废弃 `options.ssr`。到那时,我们会开始建议你将你的插件迁移到新的 API。如果想识别你的使用情况,可以在你的 vite 配置文件中将 `future.removePluginHookSsrArgument` 设置为 `"warn"`
12+
`this.environment` 最初在 `v6.0` 版本中被引入。我们计划在未来的 major 版本中废弃 `options.ssr`。到那时,我们会开始建议你将你的插件迁移到新的 API。如果想识别你的使用情况,可以在你的 vite 配置文件中将 `future.removePluginHookSsrArgument` 设置为 `"warn"`
1313
:::
1414

1515
## 动机 {#motivation}

0 commit comments

Comments
 (0)