Skip to content

Commit

Permalink
fix: isTs name
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Sep 4, 2023
1 parent c5c83c5 commit 9fc3a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/generator/sandpack-react/scripts/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const IgnoreFiles = [
'.gitignore.handlebars',
];

async function handleTemplate(
export async function handleTemplate(
templatePath: string,
data: Record<string, any> = {},
{ fileExtra, routerPrefix }: { fileExtra: string; routerPrefix: string } = {
Expand Down Expand Up @@ -93,7 +93,7 @@ async function handleMWATemplate() {
name: 'modern-app',
isMonorepoSubProject: false,
modernVersion,
isTsProject: true,
isTs: true,
})),
...(await handleTemplate(tsTemplate)),
...(await handleTemplate(
Expand Down

0 comments on commit 9fc3a26

Please sign in to comment.