Ir para o conteúdo principal
Version: 3.6.3

📦 plugin-rsdoctor

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.

Instalação

npm install --save @docusaurus/plugin-rsdoctor

Configuração

Campos aceitos:

NomeTypePadrãoDescrição
rsdoctorOptionsobject{}The Rsdoctor bundler plugin options, forwarded as is

Configuração de exemplo

You can configure this plugin through plugin options.

docusaurus.config.js
export default {
plugins: [
[
'rsdoctor',
{
rsdoctorOptions: {
mode: 'lite',
},
},
],
],
};