fix(v2): specify proper TS path in classic theme (#4381)

This commit is contained in:
Alexey Pyltsyn 2021-03-10 22:15:50 +03:00 committed by GitHub
parent 6afa83c419
commit c32d8bd116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ export default function docusaurusThemeClassic(
},
getTypeScriptThemePath() {
return path.resolve(__dirname, './theme');
return path.resolve(__dirname, '..', 'src', 'theme');
},
getTranslationFiles: async () => getTranslationFiles({themeConfig}),