fix(cli): add viteReact plugin in tanstack start template

This commit is contained in:
Aman Varshney
2025-08-21 14:55:57 +05:30
parent ee971e838c
commit d58fd61575
6 changed files with 92 additions and 26 deletions

View File

@@ -8,28 +8,23 @@
"skipLibCheck": true,
"baseUrl": "./",
"paths": {
"@/*": ["./src/*"]
{{#if (eq orm "prisma")}},
"prisma": ["node_modules/prisma"]
{{/if}}
"@/*": ["./src/*"]{{#if (eq orm "prisma")}},
"prisma": ["node_modules/prisma"]{{/if}}
},
"outDir": "./dist",
"types": [
{{#if (eq runtime "node")}}
"node"
"node"
{{else if (eq runtime "bun")}}
"bun"
"bun"
{{else if (eq runtime "workers")}}
"@cloudflare/workers-types",
"node"
"node"
{{else}}
"node",
"bun"
"node",
"bun"
{{/if}}
],
{{#unless (or (eq backend "convex") (eq backend "none"))}}
"composite": true,
{{/unless}}
]{{#unless (or (eq backend "convex") (eq backend "none"))}},
"composite": true{{/unless}},
"jsx": "react-jsx"{{#if (eq backend "hono")}},
"jsxImportSource": "hono/jsx"{{/if}}
}