Skip to content

Commit a2b555b

Browse files
Fix inaccurate translations. (#170)
* Fix inaccurate translations. * Update guide/api-plugin.md Co-authored-by: 沈青川 <[email protected]>
1 parent b401ac7 commit a2b555b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/api-plugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ Vite 插件也可以提供钩子来服务于特定的 Vite 目标。这些钩子
402402

403403
## 情景应用 {#conditional-application}
404404

405-
默认情况下插件在部署(serve)和构建(build)模式中都会调用。如果插件只需要在服务或构建期间有条件地应用,请使用 `apply` 属性指明它们仅在 `'build'``'serve'` 模式时调用:
405+
默认情况下插件在预览(serve)和构建(build)模式中都会调用。如果插件只需要在预览或构建期间有条件地应用,请使用 `apply` 属性指明它们仅在 `'build'``'serve'` 模式时调用:
406406

407407
```js
408408
function myPlugin() {

0 commit comments

Comments
 (0)