mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-20 03:32:29 +02:00
refactor(plugin-debug): migrate package to TypeScript (#5465)
* Complete migration Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Fix JSON root name Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
parent
402a5e1f88
commit
6b7f3e8553
13 changed files with 130 additions and 39 deletions
|
@ -24,7 +24,7 @@ export default function pluginDebug({
|
|||
name: 'docusaurus-plugin-debug',
|
||||
|
||||
getThemePath() {
|
||||
return path.resolve(__dirname, '../src/theme');
|
||||
return path.resolve(__dirname, '../lib/theme');
|
||||
},
|
||||
|
||||
async contentLoaded({actions: {createData, addRoute}, allContent}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue