Wei
Wei
### What problem does this feature solve? Some rough ideas about the features we could provide: - Inspect the bundled size locally (only bundled files of user's package) - Inspect...
# Bundler supports Tracking the bundler supports for the optimal output (webpack[^1] and Rspack). [^1]: Reference: https://github.com/webpack/webpack/issues/17121 ## (ESM) Tree shakable export (ESM) ESM export should be tree-shakable. - [x]...
### Version ```sh N/A ``` ### Details https://github.com/web-infra-dev/rslib/pull/143/commits/6b7ba677740c84a04eb481f046ed6eb0df3a601c The output `e2e/cases/resolve/__snapshots__/index.test.ts.snap` didn't go through concatenated logic. ### Reproduce link https://github.com/web-infra-dev/rslib/pull/143/commits/6b7ba677740c84a04eb481f046ed6eb0df3a601c ### Reproduce Steps N/A
### Version ```sh / ``` ### Details Given a package named `@monorepo/self` for example. If trying to bare import package itself. webpack / Rspack can't resolve the package. It works...
**What kind of change does this PR introduce?** Related discussion: https://github.com/webpack/webpack/discussions/16272. Support fine-grained control of external types using an external category in a map format. While the current external function...
## 💡 介绍  [Rslib](https://github.com/web-infra-dev/rslib) 是一个基于 [Rsbuild](https://github.com/web-infra-dev/rsbuild) 的 npm 库开发工具,它复用了 Rsbuild 精心设计的构建配置和插件系统,使库开发者能够充分利用 webpack 和 [Rspack](https://github.com/web-infra-dev/rspack) 的丰富知识和生态系统,帮助开发者更好地开发 npm 库。 ## 🔥 特性 Rslib 为库开发提供了一套全面的构建功能,包括: - **多种语言的编译**:TypeScript、JSX、Sass、Less、CSS Modules、Wasm 等。 - **灵活的构建模式**:提供打包和非打包选项以满足不同需求。 -...
## 💡 介绍  Rslib 是一个 JavaScript 工具,用来制作软件包。它的特点是简单易用,内置了现成的模板,可以直接开发组件库和命令行工具。底层使用 Rspack 作为打包工具,性能非常好。 ## 特性 Rslib 基于 [Rsbuild](https://github.com/web-infra-dev/rsbuild) 实现,它巧妙地结合了 Rsbuild 精心设计的构建配置和插件系统,使开发者能够快速上手,专注于 npm 库的核心功能开发。基于 [Rspack](https://github.com/web-infra-dev/rspack) 的底层,在有极快构建速度的同时,能充分利用 webpack 和 Rspack 的丰富知识和生态系统,为库开发者提供了广泛的插件和工具支持。 ## 解决了什么问题? - **构建复杂性**:Rslib...
## Summary Still working in progress. This PR is just a beginning of moving to build with Rslib. We're considering create a codemod util to migrate the config file and...
bump @rslib/core to 0.3.0, I manually reviewed the configuration and no breaking change is involved as far as I know. ## Summary by CodeRabbit - **Chores** - Updated `@rslib/core` dependency...
### What problem does this feature solve? Stabilize JS API for 1.0, ensure no breaking change in foreseeable future. ### What does the proposed API look like? x