Skip to content

Commit

Permalink
fix(v2): specify proper TS path in classic theme (#4381)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Mar 10, 2021
1 parent 6afa83c commit c32d8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default function docusaurusThemeClassic(
},

getTypeScriptThemePath() {
return path.resolve(__dirname, './theme');
return path.resolve(__dirname, '..', 'src', 'theme');
},

getTranslationFiles: async () => getTranslationFiles({themeConfig}),
Expand Down

0 comments on commit c32d8bd

Please sign in to comment.