html-rspack-plugin
JSON →Simplifies creation of HTML files to serve your Rspack bundles. This plugin is the Rspack equivalent of html-webpack-plugin, automatically injecting script and link tags into an HTML template. Current stable version is 6.1.9, released with support for Rspack core v1 and v2 (pre-release). It offers tight integration with Rspack's build system, supporting template engines, minification, and multi-page setups. The plugin is maintained actively by the Rspack team and provides a drop-in migration path from webpack to Rspack.
Resources
packagehtml-rspack-plugin ↗
API endpoints
full doc /v1/registry/html-rspack-plugin