Skip to content

Commit cbd5b7d

Browse files
committed
docs: restructure release notes
1 parent 5dbcc11 commit cbd5b7d

File tree

1 file changed

+10
-7
lines changed
  • website/docs/zh/community/releases

1 file changed

+10
-7
lines changed

website/docs/zh/community/releases/v2-0.mdx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@ Rsbuild 2.0 是基于 Rspack 2.0 的构建工具,致力于为 Web 开发者带
1717

1818
2.0 版本的主要改进包括:
1919

20-
- `@rsbuild/core` 现在是一个 Pure ESM 包
21-
- 不再支持 Node.js 18,最低支持 Node.js `20.19+` / `22.12+`
22-
- 更轻量,依赖数量从 14 个减少到 5 个,安装体积减少 2 MB
23-
- 当构建 Node 产物时,默认输出 ESM 代码而不是 CommonJS
24-
- 开发服务器默认仅监听 `localhost`,减少安全风险
25-
- 默认使用 `2023-11` decorators 版本,与最新规范一致
26-
- 升级 Proxy 中间件,支持 HTTP/2 代理
20+
- 更现代:
21+
- [@rsbuild/core 现在是 Pure ESM 包](#pure-esm-包)
22+
- [不再支持 Node.js 18](#nodejs-支持)
23+
- [构建 Node 产物时默认输出 ESM](#esm-node-产物)
24+
- [默认使用 '2023-11' 装饰器版本](#装饰器版本更新)
25+
- 更安全:
26+
- [开发服务器默认仅监听 'localhost'](#默认-host-变化)
27+
- [Proxy 中间件升级,支持 HTTP/2 代理](#proxy-中间件升级)
28+
- 更轻量:
29+
- 依赖数量从 14 个减少到 5 个,安装体积减少 2 MB
2730

2831
## Pure ESM 包
2932

0 commit comments

Comments
 (0)