d2m#1511
Merged
Merged
Conversation
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
docs: update content
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ d2208e7
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Chinese documentation by removing resolved TODO items and improving code examples. The title "d2m" likely refers to documentation maintenance.
- Removes 5 resolved TODO items from the migration guide
- Improves documentation clarity and code example formatting
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| guide/migration.md | Removes 5 TODO items about issues that have been resolved or are no longer blocking |
| guide/api-environment-frameworks.md | Adds clarity to builder configuration text and improves code block formatting with proper imports and filename label |
💡 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` 选项 为 `undefined` 时(或者调用 `vite build --app`)时,`vite build` 将选择构建整个应用。这将在未来的主要版本中成为默认设置。将创建一个 `ViteBuilder` 实例(构建时等同于 `ViteDevServer`),用于为生产环境构建所有配置的环境。默认情况下,环境的构建按照 `environments` 记录的顺序依次运行。框架或用户可以进一步使用 `builder.buildApp` 选项配置环境的构建方式: |
There was a problem hiding this comment.
There's an extra space before "为" in the phrase "当 builder 选项 为". The space between "选项" and "为" should be removed for proper Chinese grammar.
Suggested change
| 当 `builder` 选项 为 `undefined` 时(或者调用 `vite build --app`)时,`vite build` 将选择构建整个应用。这将在未来的主要版本中成为默认设置。将创建一个 `ViteBuilder` 实例(构建时等同于 `ViteDevServer`),用于为生产环境构建所有配置的环境。默认情况下,环境的构建按照 `environments` 记录的顺序依次运行。框架或用户可以进一步使用 `builder.buildApp` 选项配置环境的构建方式: | |
| 当 `builder` 选项为 `undefined` 时(或者调用 `vite build --app`)时,`vite build` 将选择构建整个应用。这将在未来的主要版本中成为默认设置。将创建一个 `ViteBuilder` 实例(构建时等同于 `ViteDevServer`),用于为生产环境构建所有配置的环境。默认情况下,环境的构建按照 `environments` 记录的顺序依次运行。框架或用户可以进一步使用 `builder.buildApp` 选项配置环境的构建方式: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.