Skip to content

Commit 90a25fd

Browse files
committed
chore: update
1 parent 24b7fa8 commit 90a25fd

File tree

2 files changed

+49
-2
lines changed

2 files changed

+49
-2
lines changed

website/docs/en/guide/start/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Rslib has the following features:
1616

1717
- **Easy to Configure**: Rslib aims to simplify library development by offering ready-to-use build capabilities, enabling developers to kickstart their library projects with minimal configuration.
1818

19-
- **Performance Oriented**: Rslib integrates high-performance Rust-based tools from the community, including Rspack, SWC and Lightning CSS, to deliver first-class build speed and development experience.
19+
- **Performance Oriented**: Rslib integrates high-performance Rust-based tools from the community, including [Rspack](https://rspack.dev/), [SWC](https://swc.rs/) and [Lightning CSS](https://lightningcss.dev/), to deliver first-class build speed and development experience.
2020

2121
- **Plugin Ecosystem**: Powered by Rsbuild, Rslib benefits from a lightweight plugin system and a collection of high-quality official plugins. Furthermore, Rsbuild's compatibility with most webpack plugins and all Rspack plugins allows library developers to seamlessly integrate existing community or in-house plugins into their library projects.
2222

@@ -39,7 +39,7 @@ The following diagram illustrates the relationship between Rslib and other tools
3939
- [rspack-examples](https://github.com/rspack-contrib/rspack-examples): Examples for Rspack, Rsbuild, Rspress and Rsdoctor.
4040
- [storybook-rsbuild](https://github.com/rspack-contrib/storybook-rsbuild): Storybook builder powered by Rsbuild.
4141
- [rsbuild-plugin-template](https://github.com/rspack-contrib/rsbuild-plugin-template): Use this template to create your own Rsbuild plugin.
42-
- [rstack-design-resources](https://github.com/rspack-contrib/rstack-design-resources): Design resources for Rspack, Rsbuild, Rspress and Rsdoctor.
42+
- [rstack-design-resources](https://github.com/rspack-contrib/rstack-design-resources): Design resources for Rspack, Rsbuild, Rslib, Rspress and Rsdoctor.
4343

4444
## 🧑‍💻 Community
4545

website/docs/zh/guide/start/index.mdx

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,48 @@
11
# 介绍
2+
3+
Rslib 是一个 Library 开发工具,它基于 [Rsbuild](https://rsbuild.dev/zh/) 精心设计的配置和插件,使库开发者得以复用 webpack 和 Rspack 繁荣的知识和生态系统。
4+
5+
Rslib 提供了丰富的构建功能,包括:
6+
7+
- **多种语言的编译**: TypeScript、JSX、Sass、Less、CSS Modules、Wasm 等。
8+
- **灵活的构建模式**: Bundle 和 bundleless 模式以满足不同的需求。
9+
- **多种输出格式**: ESM、CJS 和 UMD 以实现最大兼容性。
10+
- **类型声明文件生成**: 包括 isolated declarations。
11+
- **进阶功能**: 模块联邦、资源压缩、PostCSS、Lightning CSS 等。
12+
13+
## 🔥 特性
14+
15+
Rslib 具备以下特性:
16+
17+
- **易于配置**: Rslib 旨在通过提供开箱即用的构建能力,简化库的开发,使库开发者能够以最少的配置启动库项目。
18+
19+
- **性能优先**: Rslib 集成了社区中基于 Rust 的高性能工具,包括 [Rspack](https://rspack.dev/zh/)[SWC](https://swc.rs/)[Lightning CSS](https://lightningcss.dev/),以提供一流的构建速度和开发体验。
20+
21+
- **插件生态**: Rslib 基于 Rsbuild 轻量级的插件系统和一系列高质量的官方插件。此外,Rsbuild 兼容大多数的 webpack 插件和所有 Rspack 插件,这意味着库开发者可以无缝集成现有的社区或公司内插件到库项目中。
22+
23+
## 🎯 生态
24+
25+
Rslib 基于 Rsbuild 实现,并完全复用 Rsbuild 的能力和生态系统。
26+
27+
下图说明了 Rsbuild 与生态中其他工具之间的关系:
28+
29+
![Rspack stack layers](https://assets.rspack.dev/rsbuild/assets/rspack-stack-layers.png)
30+
31+
## 🦀 链接
32+
33+
- [Rspack](https://github.com/web-infra-dev/rspack): 基于 Rust 的高性能打包工具。
34+
- [Rsbuild](https://github.com/web-infra-dev/rsbuild): 由 Rspack 驱动的构建工具。
35+
- [Rspress](https://github.com/web-infra-dev/rspress): 基于 Rsbuild 的静态站点生成器。
36+
- [Rsdoctor](https://github.com/web-infra-dev/rsdoctor): 针对 Rspack 和 webpack 的一站式构建分析工具。
37+
- [Modern.js](https://github.com/web-infra-dev/modern.js): 基于 Rsbuild 的渐进式 React 框架。
38+
- [awesome-rspack](https://github.com/web-infra-dev/awesome-rspack): 与 Rspack 和 Rsbuild 相关的精彩内容列表。
39+
- [rspack-examples](https://github.com/rspack-contrib/rspack-examples): Rspack、Rsbuild、Rspress 和 Rsdoctor 的示例项目。
40+
- [storybook-rsbuild](https://github.com/rspack-contrib/storybook-rsbuild): 基于 Rsbuild 构建的 Storybook。
41+
- [rsbuild-plugin-template](https://github.com/rspack-contrib/rsbuild-plugin-template): 使用此模板创建你的 Rsbuild 插件。
42+
- [rstack-design-resources](https://github.com/rspack-contrib/rstack-design-resources): Rspack、Rsbuild、Rslib、Rspress 和 Rsdoctor 的设计资源。
43+
44+
## 🧑‍💻 社区
45+
46+
欢迎加入我们的 [Discord](https://discord.gg/XsaKEEk4mW) 交流频道!Rspack / Rsbuild / Rslib 团队和用户都在那里活跃,并且我们一直期待着各种贡献。
47+
48+
你也可以加入 [飞书群](https://applink.feishu.cn/client/chat/chatter/add_by_link?link_token=3c3vca77-bfc0-4ef5-b62b-9c5c9c92f1b4) 与大家一起交流。

0 commit comments

Comments
 (0)