File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Vite 计划将由 Rust 驱动的 JavaScript 打包工具 [ Rolldown] ( https://rolldown.rs ) 集成进来,以提升构建的性能和功能。
4
4
5
+ <YouTubeVideo videoId =" RRjfm8cMveQ " />
6
+
5
7
## Rolldown 是什么? {#what-is-rolldown}
6
8
9
+ ## What is Rolldown?
10
+
7
11
Rolldown 是一个现代化、高性能的 JavaScript 打包工具,由 Rust 编写。它被设计为 Rollup 的替代品,旨在保持与现有生态系统兼容的同时,显著提升性能。
8
12
9
13
Rolldown 专注于三个主要原则:
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ $ npm run preview
99
99
- name : Set up Node
100
100
uses : actions/setup-node@v4
101
101
with :
102
- node-version : 20
102
+ node-version : lts/*
103
103
cache : ' npm'
104
104
- name : Install dependencies
105
105
run : npm ci
@@ -128,7 +128,7 @@ $ npm run preview
128
128
2. 在项目根目录创建一个 `.gitlab-ci.yml` 文件,并包含以下内容。它将使得每次你更改内容时都重新构建与部署站点:
129
129
130
130
` ` ` yaml [.gitlab-ci.yml]
131
- image: node:16.5.0
131
+ image: node:lts
132
132
pages:
133
133
stage: deploy
134
134
cache:
You can’t perform that action at this time.
0 commit comments