Skip to content

m2d - #1655

Merged
thinkasany merged 13 commits into
devfrom
main
Jun 22, 2026
Merged

m2d#1655
thinkasany merged 13 commits into
devfrom
main

Conversation

@thinkasany

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 22, 2026 12:34
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cn-vitejs-dev Ready Ready Preview, Comment Jun 22, 2026 12:35pm

Request Review

@thinkasany
thinkasany merged commit 8b78e7a into dev Jun 22, 2026
3 of 4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes small editorial and formatting improvements across the Vite Chinese documentation for the plugin API and the environment API/framework guide to improve clarity and consistency.

Changes:

  • Clarifies vite-plugin keyword guidance for package.json (keywords field specifically).
  • Fixes multiple spacing/wording issues in the environment API docs for readability/consistency.
  • Adjusts wording in the environment frameworks guide (including builder behavior description) and improves inline code spacing.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
guide/api-plugin.md Clarifies plugin naming/keyword guidance and improves list formatting.
guide/api-environment.md Editorial fixes (spacing/wording) to improve readability and consistency.
guide/api-environment-frameworks.md Editorial fixes and wording tweaks around environment framework docs (including build/builder section).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

在命令行接口中,调用 `vite build` 和 `vite build --ssr` 仍将只构建客户端和仅 ssr 环境以保证向后兼容性。

当 `builder` 选项 为 `undefined` 时(或者调用 `vite build --app`)时,`vite build` 将选择构建整个应用。这将在未来的主要版本中成为默认设置。将创建一个 `ViteBuilder` 实例(构建时等同于 `ViteDevServer`),用于为生产环境构建所有配置的环境。默认情况下,环境的构建按照 `environments` 记录的顺序依次运行。框架或用户可以进一步使用 `builder.buildApp` 选项配置环境的构建方式:
当 `builder` 选项不为 `undefined` 时(或者调用 `vite build --app`)时,`vite build` 将选择构建整个应用。这将在未来的主要版本中成为默认设置。将创建一个 `ViteBuilder` 实例(构建时等同于 `ViteDevServer`),用于为生产环境构建所有配置的环境。默认情况下,环境的构建按照 `environments` 记录的顺序依次运行。框架或用户可以进一步使用 `builder.buildApp` 选项配置环境的构建方式:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants