File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,16 @@ Vite 打包器更换的影响超越了性能范畴。打包器利用解析器、
6666
6767首先,我们发布了独立的 ` rolldown-vite ` 包作为[ 技术预览版] ( https://voidzero.dev/posts/announcing-rolldown-vite ) 。这让我们能够在不影响 Vite 稳定版本的情况下与早期采用者合作。早期采用者从 Rolldown 的性能提升中受益,同时提供了宝贵的反馈。亮点包括:
6868
69+ <<<<<<< HEAD
6970- Linear 的生产构建时间从 46 秒减少到 6 秒
7071- Mercedes-Benz.io 将构建时间减少了高达 38%
7172- Beehiiv 将构建时间减少了 64%
73+ =======
74+ - Linear's production build times were reduced from 46s to 6s
75+ - Ramp reduced their build time by 57%
76+ - Mercedes-Benz.io cut their build time down by up to 38%
77+ - Beehiiv reduced their build time by 64%
78+ >>>>>>> 7f6f216b107832e7f5756511553bb1b7723b2bfa
7279
7380接下来,我们建立了一套测试套件,用于验证关键的 Vite 插件与 ` rolldown-vite ` 的兼容性。这项 CI 任务帮助我们及早发现回归问题和兼容性问题,特别是对于 SvelteKit、react-router 和 Storybook 等框架和元框架。
7481
Original file line number Diff line number Diff 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,8 @@ worker 打包时的输出类型。
2929- ** 类型:** ` RolldownOptions `
3030- ** 已弃用**
3131
32+ <<<<<<< HEAD
3233此选项是 ` worker.rolldownOptions ` 选项的别名。请使用 ` build.rolldownOptions ` 选项代替。
34+ =======
35+ This option is an alias of ` worker.rolldownOptions ` option. Use ` worker.rolldownOptions ` option instead.
36+ >>>>>>> 7f6f216b107832e7f5756511553bb1b7723b2bfa
You can’t perform that action at this time.
0 commit comments