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 22
33Vite 计划将由 Rust 驱动的 JavaScript 打包工具 [ Rolldown] ( https://rolldown.rs ) 集成进来,以提升构建的性能和功能。
44
5+ <YouTubeVideo videoId =" RRjfm8cMveQ " />
6+
57## Rolldown 是什么? {#what-is-rolldown}
68
9+ ## What is Rolldown?
10+
711Rolldown 是一个现代化、高性能的 JavaScript 打包工具,由 Rust 编写。它被设计为 Rollup 的替代品,旨在保持与现有生态系统兼容的同时,显著提升性能。
812
913Rolldown 专注于三个主要原则:
Original file line number Diff line number Diff 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
1281282. 在项目根目录创建一个 `.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:
You can’t perform that action at this time.
0 commit comments