We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72c003f commit db4f962Copy full SHA for db4f962
docusaurus.config.js
@@ -101,7 +101,9 @@ const config = {
101
pluginName,
102
{
103
...config,
104
- sidebarPath: require.resolve(config.sidebarPath),
+ sidebarPath: config.sidebarPath && typeof config.sidebarPath === 'string'
105
+ ? require.resolve(config.sidebarPath)
106
+ : config.sidebarPath,
107
},
108
]),
109
],
0 commit comments