From 4ea1562add93635137bb3f2c23e8571da13b68a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0?= Date: Tue, 9 Dec 2025 11:11:08 +0900 Subject: [PATCH 1/4] docs(migration): make it clear whether the section is applicable for rolldown-vite users (#21234) --- guide/migration.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/guide/migration.md b/guide/migration.md index 4cca5912..66773763 100644 --- a/guide/migration.md +++ b/guide/migration.md @@ -1,6 +1,8 @@ # Migration from v7 -## Default Browser Target change +If you are migrating from `rolldown-vite`, the technical preview release for Rolldown integrated Vite for v6 & v7, only the sections with in the title are applicable. + +## Default Browser Target change [](#migration-from-v7) The default browser value of `build.target` and `'baseline-widely-available'`, is updated to newer browser version: @@ -334,9 +336,9 @@ The following options are deprecated and will be removed in the future: - `worker.rollupOptions`: renamed to `worker.rolldownOptions` - `build.commonjsOptions`: it is now no-op -## General Changes +## General Changes [](#migration-from-v7) -## Removed deprecated features +## Removed deprecated features [](#migration-from-v7) **_TODO: This change is not implemented yet, but will be implemented before stable release._** From 4c9ce45210a7a61c942ba3a5bb1944f8643b0874 Mon Sep 17 00:00:00 2001 From: Yunfei He Date: Tue, 9 Dec 2025 10:13:06 +0800 Subject: [PATCH 2/4] docs: clarify the pronunciation of `vite` in IPA symbols (#21238) --- guide/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/index.md b/guide/index.md index eedc92f9..5e25b13b 100644 --- a/guide/index.md +++ b/guide/index.md @@ -6,7 +6,7 @@ ## Overview -Vite (French word for "quick", pronounced `/vit/`, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts: +Vite (French word for "quick", pronounced `/viːt/`, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts: - A dev server that provides [rich feature enhancements](./features) over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), for example extremely fast [Hot Module Replacement (HMR)](./features#hot-module-replacement). From 83ca32ec6090de100e785f997e03444ba111d2df Mon Sep 17 00:00:00 2001 From: waynzh Date: Wed, 10 Dec 2025 15:21:35 +0800 Subject: [PATCH 3/4] docs(cn): resolve conflicts --- guide/index.md | 6 +----- guide/migration.md | 18 ++++-------------- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/guide/index.md b/guide/index.md index faf87a62..ad67283a 100644 --- a/guide/index.md +++ b/guide/index.md @@ -6,11 +6,7 @@ ## 总览 {#overview} -<<<<<<< HEAD -Vite(法语意为 "快速的",发音 `/vit/`,发音同 "veet")是一种新型前端构建工具,能够显著提升前端开发体验。它主要由两部分组成: -======= -Vite (French word for "quick", pronounced `/viːt/`, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts: ->>>>>>> 4c9ce45210a7a61c942ba3a5bb1944f8643b0874 +Vite(法语意为 "快速的",发音 `/viːt/`,发音同 "veet")是一种新型前端构建工具,能够显著提升前端开发体验。它主要由两部分组成: - 一个开发服务器,它基于 [原生 ES 模块](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) 提供了 [丰富的内建功能](./features),如速度快到惊人的 [模块热替换(HMR)](./features#hot-module-replacement)。 diff --git a/guide/migration.md b/guide/migration.md index 05e0badf..79567f32 100644 --- a/guide/migration.md +++ b/guide/migration.md @@ -1,12 +1,8 @@ # 从 v7 迁移 {#migration-from-v7} -<<<<<<< HEAD -## 浏览器兼容性目标变更 {#default-browser-target-change} -======= -If you are migrating from `rolldown-vite`, the technical preview release for Rolldown integrated Vite for v6 & v7, only the sections with in the title are applicable. +如果正在从 `rolldown-vite` 进行迁移,那么只有标题中包含 的部分适用。 -## Default Browser Target change [](#migration-from-v7) ->>>>>>> 4c9ce45210a7a61c942ba3a5bb1944f8643b0874 +## 浏览器兼容性目标变更 [](#migration-from-v7) {#default-browser-target-change} `build.target` 和 `'baseline-widely-available'` 的默认浏览器值已更新为较新的浏览器版本: @@ -340,15 +336,9 @@ const plugin = { - `worker.rollupOptions`:重命名为 `worker.rolldownOptions` - `build.commonjsOptions`:现在无操作效果 -<<<<<<< HEAD -## 总体变化 {#general-changes} +## 总体变化 [](#migration-from-v7) {#general-changes} -## 移除了已弃用的功能 {#removed-deprecated-features} -======= -## General Changes [](#migration-from-v7) - -## Removed deprecated features [](#migration-from-v7) ->>>>>>> 4c9ce45210a7a61c942ba3a5bb1944f8643b0874 +## 移除了已弃用的功能 [](#migration-from-v7) {#removed-deprecated-features} **_TODO:此更改尚未实现,但将在稳定版发布前实现。_** From 8ded678824e9079dee86900d31c03936b9de481b Mon Sep 17 00:00:00 2001 From: waynzh Date: Wed, 10 Dec 2025 15:26:25 +0800 Subject: [PATCH 4/4] docs(cn): tweak words --- blog/announcing-vite8-beta.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/announcing-vite8-beta.md b/blog/announcing-vite8-beta.md index b611c8df..24f2995c 100644 --- a/blog/announcing-vite8-beta.md +++ b/blog/announcing-vite8-beta.md @@ -54,7 +54,7 @@ Vite 之前依赖两个打包工具来满足开发和生产构建的不同需求 ## 统一工具链 {#unifying-the-toolchain} -Vite 的打包工具替换带来的影响远不止性能提升。打包工具利用解析器、解析器、转换器和压缩器。Rolldown 为此目的使用了由 VoidZero 团队主导的另一个项目 Oxc。 +Vite 的打包工具替换带来的影响远不止性能提升。打包工具利用语法解析器(parsers)、依赖解析器(resolvers)、转换器(transformers)和压缩器(minifiers)。Rolldown 为此目的使用了由 VoidZero 团队主导的另一个项目 Oxc。 **这使得 Vite 成为由同一团队维护的端到端工具链的入口:构建工具(Vite)、打包工具(Rolldown)和编译器(Oxc)。**