mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
refactor: clean up dependencies (#6470)
This commit is contained in:
parent
f0b08f493d
commit
83fb3a825f
8 changed files with 29 additions and 220 deletions
|
@ -110,22 +110,12 @@ export default function docusaurusThemeClassic(
|
|||
return {
|
||||
name: 'docusaurus-theme-classic',
|
||||
|
||||
/*
|
||||
Does not seem needed: webpack can already hot reload theme files
|
||||
getPathsToWatch() {
|
||||
return [
|
||||
path.join(__dirname, '..', 'lib'),
|
||||
path.join(__dirname, '..', 'lib-next'),
|
||||
];
|
||||
},
|
||||
*/
|
||||
|
||||
getThemePath() {
|
||||
return path.join(__dirname, '..', 'lib-next', 'theme');
|
||||
return path.join(__dirname, '../lib-next/theme');
|
||||
},
|
||||
|
||||
getTypeScriptThemePath() {
|
||||
return path.resolve(__dirname, '..', 'src', 'theme');
|
||||
return path.resolve(__dirname, '../src/theme');
|
||||
},
|
||||
|
||||
getTranslationFiles: async () => getTranslationFiles({themeConfig}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue