Skip to content

Commit d9d5ad8

Browse files
committed
chore: update
1 parent 32bb1be commit d9d5ad8

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,10 @@ English | [简体中文](./README.zh-CN.md)
1616

1717
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.
1818

19-
## ✨ Why Rslib
19+
Rslib aims to provide library developers with:
2020

21-
During the development of component or utility libraries, developers need to focus not only on implementing project logic, but also on handling tasks that are separate from the code itself, such as building, debugging, documentation, and testing. Although many community tools and solutions can address some of these needs, developers who are not familiar with them often face cumbersome configuration requirements or need to coordinate multiple tools to meet these demands.
22-
23-
Based on Rspack and Rsbuild, Rslib offers a comprehensive solution tailored to the diverse requirements of library development, effectively addressing issues such as incomplete tool ecosystems, high costs for module standard compatibility, and insufficient output optimization. Rslib optimizes webpack's limited support for library ESM outputs, reducing redundant runtime code and generating high-quality ESM outputs that are tree-shaking friendly for library consumers. Additionally, Rslib fully leverages the build performance advantages of Rspack and capitalizes the strengths of both the webpack and Rspack ecosystems to robustly support features such as Module Federation.
24-
25-
Furthermore, Rslib utilizes Rsbuild's out-of-the-box configuration to facilitate configuration sharing between application and library projects, resolving the challenge of reusing build configurations between application projects and library projects, thereby reducing the configuration overhead for developers and improving development efficiency and experience.
26-
27-
In the future, Rslib will explore additional possibilities by leveraging the new features of Rspack.
21+
- **Comprehensive build configurations and high-quality artifacts**: Rslib offers a rich set of build configurations, ensuring your library is built with the highest quality and optimized for various scenarios.
22+
- **Seamless integration of development workflows**: Rslib simplifies the development process by cascading the stages of building, debugging, documentation, and testing, providing a complete and efficient practice out of the box.
2823

2924
## 🔥 Features
3025

README.zh-CN.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,10 @@
1616

1717
Rslib 是一个库开发工具,它基于 [Rsbuild](https://rsbuild.dev/zh) 精心设计的配置和插件,使库开发者得以复用 webpack 和 Rspack 繁荣的知识和生态系统。
1818

19-
## ✨ 为什么选择 Rslib
19+
Rslib 旨在为库开发者提供:
2020

21-
在开发组件库或工具库时,开发者不仅需要关注项目逻辑的实现,还需考虑项目的构建、调试、文档和测试等与代码逻辑无关的工作。现有许多社区工具与方案通常能较好地满足其中部分需求,但对于不熟悉这些工具与方案的开发者来说,往往需要繁琐的配置工作或多种工具配合使用,以满足这些需求。
22-
23-
Rslib 基于 Rspack 与 Rsbuild 实现,针对库开发场景的多样化需求,提供了一套完整的解决方案,有效解决了库开发中的工具生态不完善、模块规范兼容成本高、产物优化不足等问题。Rslib 对 webpack 对 library ESM 产物支持不足的情况进行了优化,减少了冗余的运行时代码,可以产出对库消费者友好的支持 tree-shaking 的高质量 ESM 产物。同时,Rslib 充分发挥了 Rspack 带来的构建性能优势,并利用 webpack / Rspack 生态的优势,很好地支持了模块联邦等功能。
24-
25-
此外,Rslib 可以利用 Rsbuild 开箱即用的配置,与应用项目实现配置共享,解决应用项目与库项目之间构建配置难以复用的问题,进而降低开发者的配置成本,提升开发效率与体验。
26-
27-
未来,Rslib 将基于 Rspack 的新特性,探索更多的可能性。
21+
- **丰富的构建配置与高质量的产物**:Rslib 提供了一系列丰富的构建配置,确保您的库以高质量构建并针对各种场景进行优化。
22+
- **开发流程串联**:Rslib 通过串联构建、调试、文档和测试等阶段,简化了开发过程,提供了开箱即用的完整而高效的实践。
2823

2924
## 🔥 功能
3025

0 commit comments

Comments
 (0)