Skip to content

Commit 1ce4454

Browse files
authored
Merge pull request #1214 from vitejs/sync-cf66cf54-1
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ cf66cf5
2 parents 09d7f57 + d2a7309 commit 1ce4454

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

guide/rolldown.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
Vite 计划将由 Rust 驱动的 JavaScript 打包工具 [Rolldown](https://rolldown.rs) 集成进来,以提升构建的性能和功能。
44

5+
<YouTubeVideo videoId="RRjfm8cMveQ" />
6+
57
## Rolldown 是什么? {#what-is-rolldown}
68

9+
## What is Rolldown?
10+
711
Rolldown 是一个现代化、高性能的 JavaScript 打包工具,由 Rust 编写。它被设计为 Rollup 的替代品,旨在保持与现有生态系统兼容的同时,显著提升性能。
812

913
Rolldown 专注于三个主要原则:

guide/static-deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $ npm run preview
9999
- name: Set up Node
100100
uses: actions/setup-node@v4
101101
with:
102-
node-version: 20
102+
node-version: lts/*
103103
cache: 'npm'
104104
- name: Install dependencies
105105
run: npm ci
@@ -128,7 +128,7 @@ $ npm run preview
128128
2. 在项目根目录创建一个 `.gitlab-ci.yml` 文件,并包含以下内容。它将使得每次你更改内容时都重新构建与部署站点:
129129

130130
```yaml [.gitlab-ci.yml]
131-
image: node:16.5.0
131+
image: node:lts
132132
pages:
133133
stage: deploy
134134
cache:

0 commit comments

Comments
 (0)