Rsbuild provides a powerful plugin system that allows for user extension. Rspeedy leverages this plugin system directly.
Plugins written by developers can modify the default behavior of Rspeedy/Rsbuild and add various additional features, including but not limited to:
Before finding plugin, you may want to check if the feature you want is already included in Rspeedy Configuration.
The following Rsbuild plugins can be used in Rspeedy.
The following Rspack/Webpack plugins can be used in Rspeedy.
Rspack/Webpack plugins should be placed in tools.rspack.plugins
.
process.env
with DefinePlugin.import
them everywhere.If none of the existing ecosystem plugins meet your requirements, you might consider writing your own plugin.
See Rsbuild - Plugin Hooks for more details.
See Rspack - Compiler Hooks and Rspack - Compilation Hooks for more details.