Skip to content

Commit 4727018

Browse files
committed
docs: add introduction and features doc
1 parent f161e19 commit 4727018

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
11
# Introduction
22

3+
Rslib is a library build tool that leverages the excellent configurations and plugins of Rsbuild, empowering library developers to take advantage of the extensive knowledge and ecosystem of webpack and Rspack.
4+
5+
Rslib provides a comprehensive set of [build features](/guide/start/features) for library development, including:
6+
7+
- **Compilation of diverse languages**: TypeScript, JSX, Sass, Less, CSS Modules, Wasm, and more.
8+
- **Flexible build modes**: Bundle and bundleless options to suit your needs.
9+
- **Multiple output formats**: ESM, CJS, and UMD for maximum compatibility.
10+
- **Declaration file generation**: Including isolated declarations.
11+
- **Advanced features**: Module Federation, asset compression, PostCSS, Lightning CSS, and more.
12+
313
## 🔥 Features
414

15+
Rslib has the following features:
16+
17+
- **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.
18+
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.
20+
21+
- **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.
22+
523
## 🎯 Ecosystem
624

725
Rslib is implemented based on Rsbuild and fully reuses the capabilities and ecology of Rsbuild.
826

9-
The following diagram illustrates the relationship between Rsbuild and other tools in the ecosystem:
27+
The following diagram illustrates the relationship between Rslib and other tools in the ecosystem:
1028

1129
![Rspack stack layers](https://assets.rspack.dev/rsbuild/assets/rspack-stack-layers.png)
1230

0 commit comments

Comments
 (0)