diff --git a/packages/import-utils/src/create-sandbox/templates.ts b/packages/import-utils/src/create-sandbox/templates.ts index f1af7c27..86046c08 100644 --- a/packages/import-utils/src/create-sandbox/templates.ts +++ b/packages/import-utils/src/create-sandbox/templates.ts @@ -164,6 +164,10 @@ export function getTemplate( return "preact-cli"; } + if (totalDependencies.indexOf("rax") > -1) { + return "rax"; + } + if (totalDependencies.indexOf("svelte") > -1) { return "svelte"; } diff --git a/packages/types/index.d.ts b/packages/types/index.d.ts index f51b652c..6c0896b5 100644 --- a/packages/types/index.d.ts +++ b/packages/types/index.d.ts @@ -30,6 +30,7 @@ export type ITemplate = | "adonis" | "vue-cli" | "preact-cli" + | "rax" | "svelte" | "create-react-app-typescript" | "create-react-app"