| sidebar_position | 7 |
|---|---|
| slug | /api/plugins/@docusaurus/plugin-rsdoctor |
import APITable from '@site/src/components/APITable';
A Rsdoctor plugin can help you troubleshoot the bundling phase of your Docusaurus site, supporting both Webpack and Rspack.
:::tip
Use it to figure out which plugin or loader is slowing down the bundler, and focus your efforts on optimizing the bottleneck.
:::
npm install --save @docusaurus/plugin-rsdoctorAccepted fields:
<APITable>
| Name | Type | Default | Description |
|---|---|---|---|
rsdoctorOptions |
object |
{} |
The Rsdoctor bundler plugin options, forwarded as is |
</APITable>
You can configure this plugin through plugin options.
export default {
plugins: [
[
'rsdoctor',
{
rsdoctorOptions: {
mode: 'lite',
},
},
],
],
};