메인 컨텐츠로 이동
버전: 3.6.0

📦 plugin-rsdoctor

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

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

설정할 수 있는 필드

옵션명타입기본값설명
rsdoctorOptionsobject{}The Rsdoctor bundler plugin options, forwarded as is

Example configuration

You can configure this plugin through plugin options.

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