mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 09:43:10 +00:00
feat(v2): support TypeScript theme components (#2469)
This commit is contained in:
parent
079e1ce2df
commit
ecfb55eee8
|
|
@ -19,7 +19,7 @@ export function themeAlias(
|
|||
return {};
|
||||
}
|
||||
|
||||
const themeComponentFiles = globby.sync(['**/*.{js,jsx}'], {
|
||||
const themeComponentFiles = globby.sync(['**/*.{js,jsx,ts,tsx}'], {
|
||||
cwd: themePath,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue