File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
影响范围:` Vite 插件作者 `
10
10
11
11
::: warning 即将废弃
12
- ` hotUpdate ` 钩子最初在 ` v6.0 ` 版本中引入。我们计划在 ` v7.0 ` 版本中废弃 ` handleHotUpdate ` 钩子。我们目前还不建议你停止使用 ` handleHotUpdate ` 。如果你想尝试并向我们提供反馈,你可以在你的 vite 配置文件中将 ` future.removePluginHookHandleHotUpdate ` 设置为 ` "warn" ` 。
12
+ ` hotUpdate ` 钩子最初在 ` v6.0 ` 版本中引入。我们计划在未来的 major 版本中废弃 ` handleHotUpdate ` 钩子。我们目前还不建议你停止使用 ` handleHotUpdate ` 。如果你想尝试并向我们提供反馈,你可以在你的 vite 配置文件中将 ` future.removePluginHookHandleHotUpdate ` 设置为 ` "warn" ` 。
13
13
:::
14
14
15
15
## 动机 {#motivation}
Original file line number Diff line number Diff line change 9
9
影响范围:` Vite 插件作者 `
10
10
11
11
::: warning 即将废弃
12
- ` 环境 ` 实例首次在 ` v6.0 ` 中引入。计划在 ` v7.0 ` 中废弃现在的 ` server.moduleGraph ` 和其他方法。我们不建议你现在就放弃 server 方法。要识别你的使用情况,请在你的 vite 配置中设置以下。
12
+ ` 环境 ` 实例首次在 ` v6.0 ` 中引入。计划在未来的 major 版本中废弃现在的 ` server.moduleGraph ` 和其他方法。我们不建议你现在就放弃 server 方法。要识别你的使用情况,请在你的 vite 配置中设置以下。
13
13
14
14
``` ts
15
15
future : {
Original file line number Diff line number Diff line change 9
9
影响范围:` Vite 插件作者 `
10
10
11
11
::: 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" ` 。
13
13
:::
14
14
15
15
## 动机 {#motivation}
You can’t perform that action at this time.
0 commit comments