From c32d8bd11659c442fccb75fc38325ca37fa15cf2 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 10 Mar 2021 22:15:50 +0300 Subject: [PATCH] fix(v2): specify proper TS path in classic theme (#4381) --- packages/docusaurus-theme-classic/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-theme-classic/src/index.ts b/packages/docusaurus-theme-classic/src/index.ts index ef4dc6393fed..69fa1e80a73a 100644 --- a/packages/docusaurus-theme-classic/src/index.ts +++ b/packages/docusaurus-theme-classic/src/index.ts @@ -98,7 +98,7 @@ export default function docusaurusThemeClassic( }, getTypeScriptThemePath() { - return path.resolve(__dirname, './theme'); + return path.resolve(__dirname, '..', 'src', 'theme'); }, getTranslationFiles: async () => getTranslationFiles({themeConfig}),