Aller au contenu principal
Version : 3.6.0

📦 plugin-rsdoctor

A Rsdoctor plugin can help you troubleshoot the bundling phase of your Docusaurus site, supporting both Webpack and Rspack.

astuce

Use it to figure out which plugin or loader is slowing down the bundler, and focus your efforts on optimizing the bottleneck.

Installation

npm install --save @docusaurus/plugin-rsdoctor

Configuration

Champs acceptés :

NomTypePar défautDescription
rsdoctorOptionsobject{}The Rsdoctor bundler plugin options, forwarded as is

Exemple de configuration

Vous pouvez configurer ce plugin via les options du plugin.

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