Rspack is the base bundler for Rsbuild. The goal of Rsbuild is to provide out-of-the-box building capabilities for Rspack users, allowing developers to start a web project with zero configuration.
Modern.js is a progressive web development framework built on top of Rsbuild. The building capabilities of Modern.js are implemented based on Rsbuild.
Rsbuild focuses on solving web application building scenarios. We do not recommend that you use Rsbuild to build libraries or UI components.
If you need to build a library or UI components, it is recommended to use the Modern.js Module.