Skip to content

m2d#1675

Merged
thinkasany merged 9 commits into
devfrom
main
Jul 5, 2026
Merged

m2d#1675
thinkasany merged 9 commits into
devfrom
main

Conversation

@thinkasany

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 5, 2026 12:24
@vercel

vercel Bot commented Jul 5, 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 Jul 5, 2026 12:24pm

Request Review

@thinkasany
thinkasany merged commit 1f9f4db into dev Jul 5, 2026
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

此 PR 主要对中文文档的排版与措辞进行微调,统一中英文混排的空格与大小写,并修正文案中的重复表述,以提升可读性与一致性。

Changes:

  • 统一中英文混排的空格(如 “SSR / API / Node.js”等)与链接周边排版
  • 修正文案重复用词(troubleshooting 中“实现…实现…”)
  • 统一品牌/术语大小写(如 “vite” → “Vite”)

Reviewed changes

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

Show a summary per file
File Description
guide/troubleshooting.md 修正文案重复表述并保持列表排版一致
guide/static-deploy.md 调整链接前后空格,提升可读性
guide/ssr.md 增加 “SSR” 前后空格,统一中英文混排样式
guide/philosophy.md 统一 “API” 前后空格,改善排版一致性
guide/performance.md 调整 “Node.js” 前后空格;(同时该行存在引用链接编号不一致问题需修正)
guide/index.md 统一 “Vite” 大小写,改善术语一致性

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

Comment thread guide/performance.md
然而,社区插件的性能是 Vite 无法控制的,这可能会影响开发者的体验。在使用额外的 Vite 插件时,有一些事情可以注意:

1. 只在特定情况下,大型依赖项应动态导入,以减少Node.js的启动时间。重构示例:[vite-plugin-react#212](https://github.com/vitejs/vite-plugin-react/pull/212) 和 [vite-plugin-pwa#224](https://github.com/vite-pwa/vite-plugin-pwa/pull/244)。
1. 只在特定情况下,大型依赖项应动态导入,以减少 Node.js 的启动时间。重构示例:[vite-plugin-react#212](https://github.com/vitejs/vite-plugin-react/pull/212) 和 [vite-plugin-pwa#224](https://github.com/vite-pwa/vite-plugin-pwa/pull/244)。
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.

3 participants