You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-15Lines changed: 49 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,6 @@
14
14
15
15
Rslib is a library development tool that leverages the well-designed configurations and plugins of [Rsbuild](https://rsbuild.dev), empowering library developers to take advantage of the extensive knowledge and ecosystem of webpack and Rspack.
16
16
17
-
Rslib provides a comprehensive set of build features for library development, including:
18
-
19
-
-**Compilation of diverse languages**: TypeScript, JSX, Sass, Less, CSS Modules, Wasm, and more.
20
-
-**Flexible build modes**: Bundle and bundleless options to meet varying needs.
21
-
-**Multiple output formats**: ESM, CJS, and UMD for maximum compatibility.
22
-
-**Declaration file generation**: Including isolated declarations.
23
-
-**Advanced features**: Module Federation, asset compression, PostCSS, Lightning CSS, and more.
24
-
25
17
## ✨ Why Rslib?
26
18
27
19
In the past, we typically did not use webpack or Rspack to build ESM packages because they often included excessive runtime code, making them less friendly to package consumers. However, the community has developed a vast ecosystem around webpack and Rspack, which provides powerful features like tree shaking, code splitting, module federation and more.
@@ -30,20 +22,26 @@ So we decided to create Rslib. It improves the quality of ESM output from Rspack
🚧 Rslib is still in its early stages and under active development. We are building Rslib by working in two main parts:
25
+
Rslib is still in its early stages and under active development. We are building Rslib by working in two main parts:
36
26
37
27
-[bundler support track](https://github.com/web-infra-dev/rslib/issues/45): Improve the quality of ESM / CJS outputs by contributing to Rspack and webpack.
38
28
-[Rslib features track](https://github.com/web-infra-dev/rslib/issues/46): Develop the core features of Rslib.
39
29
40
-
> You can click the link above to check the progress of these tasks. The roadmap may change as we move forward.
30
+
The roadmap may change as we move forward.
31
+
32
+
## 🔥 Features
33
+
34
+
Rslib has the following features:
41
35
42
-
We plan to complete the core features of Rslib in Q3 2024 and use Rslib to build our npm packages such as Rspack and Rsbuild (dogfooding). And Rslib will have a public stable version in Q4 2024.
36
+
-**Compilation of diverse languages**: TypeScript, JSX, Sass, Less, CSS Modules, Wasm, and more.
37
+
-**Flexible build modes**: Bundle and bundleless options to meet varying needs.
38
+
-**Multiple output formats**: ESM, CJS, and UMD for maximum compatibility.
39
+
-**Declaration file generation**: Including isolated declarations.
40
+
-**Advanced features**: Module Federation, asset compression, PostCSS, Lightning CSS, and more.
43
41
44
-
If you're interested in Rslib, feel free to submit issues or pull requests to help us get there faster.
42
+
## 📚 Getting Started
45
43
46
-
You can also clone the repository and run the examples in the [examples](https://github.com/web-infra-dev/rslib/tree/main/examples) folder to experience Rslib.
44
+
To get started with Rslib, see the [Quick Start](https://lib.rsbuild.dev/guide/start/quick-start).
47
45
48
46
## 🦀 Links
49
47
@@ -74,6 +72,40 @@ Please read the [Contributing Guide](https://github.com/web-infra-dev/rslib/blob
0 commit comments