Merged
Conversation
Update the description of Vite 8 installation size changes.
fix(docs): correct typo in Chinese translation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Minor copy edit to the Vite 8 announcement blog post, improving the wording around the lightningcss bundle-size explanation.
Changes:
- Fixes wording in the “安装大小” section for the
lightningcssbullet.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| 我们想要透明地对待 Vite 安装大小的变化。Vite 8 本身比 Vite 7 大约大 15 MB。这来自两个主要来源: | ||
|
|
||
| - **~10 MB 来自 lightningcss**: 以前是一个可选的 peer 依赖项,lightningcss 现在是一个普通依赖项,提供更好的箱即用 CSS 压缩。 | ||
| - **~10 MB 来自 lightningcss**: 以前是一个可选的 peer 依赖项,lightningcss 现在是一个普通依赖项,提供更好的开箱即用的CSS 压缩。 |
There was a problem hiding this comment.
这里的中英文间距不一致:开箱即用的CSS 建议按文档其余部分的写法在中文与英文缩写之间加空格(如 Wasm SSR),例如写成 开箱即用的 CSS,以避免排版问题。
Suggested change
| - **~10 MB 来自 lightningcss**: 以前是一个可选的 peer 依赖项,lightningcss 现在是一个普通依赖项,提供更好的开箱即用的CSS 压缩。 | |
| - **~10 MB 来自 lightningcss**: 以前是一个可选的 peer 依赖项,lightningcss 现在是一个普通依赖项,提供更好的开箱即用的 CSS 压缩。 |
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.