Skip to content

Commit c528056

Browse files
authored
Merge pull request #1469 from vitejs/sync-7f6f216b-1
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ 7f6f216
2 parents 7adce9e + a3854bc commit c528056

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

blog/announcing-vite8-beta.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Vite 打包器更换的影响超越了性能范畴。打包器利用解析器、
6767
首先,我们发布了独立的 `rolldown-vite` 包作为[技术预览版](https://voidzero.dev/posts/announcing-rolldown-vite)。这让我们能够在不影响 Vite 稳定版本的情况下与早期采用者合作。早期采用者从 Rolldown 的性能提升中受益,同时提供了宝贵的反馈。亮点包括:
6868

6969
- Linear 的生产构建时间从 46 秒减少到 6 秒
70+
- Ramp 将它们的建造时间缩短了 57%
7071
- Mercedes-Benz.io 将构建时间减少了高达 38%
7172
- Beehiiv 将构建时间减少了 64%
7273

config/worker-options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ worker 打包时的输出类型。
1616
应用于 worker 打包的 Vite 插件。注意 [config.plugins](./shared-options#plugins) 仅会在开发(dev)阶段应用于 worker,若要配置在构建(build)阶段应用于 worker 的插件则应该在本选项这里配置。
1717
该函数应返回新的插件实例,因为它们在并行的 rollup worker 构建中使用。因此,在 `config` 钩子中修改 `config.worker` 选项将被忽略。
1818

19-
## worker.rollupOptions
19+
## worker.rolldownOptions
2020

2121
<!-- TODO: update the link below to Rolldown's documentation -->
2222

@@ -29,4 +29,4 @@ worker 打包时的输出类型。
2929
- **类型:** `RolldownOptions`
3030
- **已弃用**
3131

32-
此选项是 `worker.rolldownOptions` 选项的别名。请使用 `build.rolldownOptions` 选项代替。
32+
此选项是 `worker.rolldownOptions` 选项的别名。请使用 `worker.rolldownOptions` 选项代替。

0 commit comments

Comments
 (0)