Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(v2): Support typescript theme components
Browse files Browse the repository at this point in the history
SamChou19815 committed Mar 26, 2020

Partially verified

This commit is signed with the committer’s verified signature.
spydon’s contribution has been verified via GPG key.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent 079e1ce commit a953aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus/src/server/themes/alias.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ export function themeAlias(
return {};
}

const themeComponentFiles = globby.sync(['**/*.{js,jsx}'], {
const themeComponentFiles = globby.sync(['**/*.{js,jsx,ts,tsx}'], {
cwd: themePath,
});

0 comments on commit a953aaf

Please sign in to comment.