mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 20:32:42 +02:00
feat(v2): support TypeScript theme components (#2469)
This commit is contained in:
parent
079e1ce2df
commit
ecfb55eee8
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ export function themeAlias(
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
const themeComponentFiles = globby.sync(['**/*.{js,jsx}'], {
|
const themeComponentFiles = globby.sync(['**/*.{js,jsx,ts,tsx}'], {
|
||||||
cwd: themePath,
|
cwd: themePath,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue