tools.htmlPlugin
- Type:
boolean | Object | Function - Default:
Warning
SSR Application does not enable the minify.removeComments configuration, otherwise the SSR rendering will fail.
The configs of html-rspack-plugin can be modified through tools.htmlPlugin.
Info
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - tools.htmlPlugin.