Rspack provides a variety of interfaces to customize the compilation process, including
Command Line Interface (CLI), which is used to configure and interact with the build process, supports dev, build and other functions commonly used in daily development. See CLI for details.
The Modules interface is used to define the supported module syntax and methods, see Modules interface for details.
The Hot Module Replacement (HMR) interface is used to implement hot module replacement, see Hot Module Replacement Interface for details.
Loader is used to convert the source code of the module, please refer to Loader API for more details.
Plugin allows users to intervene in the compilation process. Plugins can register callback functions on different lifecycles to modify the user's compilation process, see Plugin API for more details.