Rspack plugins
Rspack enhances its compilation capabilities through a rich ecosystem of plugins. These plugins fall into the following categories:
Built-in plugins
Rspack provides several high-performance built-in plugins. They can serve as drop-in replacements for popular plugins in the webpack ecosystem and deliver more efficient performance.
Including:
- CircularDependencyRspackPlugin: Flags circular imports
- CopyRspackPlugin: Copies files or directories to the build output
- CssChunkingPlugin: Splits CSS while preserving import order to avoid style issues
- CssExtractRspackPlugin: Extracts styles into standalone CSS files
- HtmlRspackPlugin: Generates HTML and injects assets
- LightningCssMinimizerRspackPlugin: Minifies CSS with Lightning CSS
- SubresourceIntegrityPlugin: Enables subresource integrity (SRI)
- SwcJsMinimizerRspackPlugin: Minifies JavaScript via SWC
- VirtualModulesPlugin: Creates and modifies virtual modules in memory
Built-in plugins (webpack-aligned)
To align with webpack's functionality, Rspack has replicated most of webpack's built-in plugins. They maintain the same naming and configuration parameters as closely as possible and provide the same features.
See Built-in plugins (webpack-aligned) - Overview for more details.
Community plugins
Rspack strives to maintain compatibility with the webpack plugin ecosystem to leverage the excellent features that have been accumulated and validated by the community.
Please refer to the Plugin compatibility list to access a list of webpack plugins that have passed our compatibility tests.
You can also check out the community Rspack plugins at awesome-rspack.
Welcome to add the plugins you developed to this repository.

