fix ts references when backend is none or convex

This commit is contained in:
Aman Varshney
2025-05-12 13:36:05 +05:30
parent 7227696dec
commit 484095157d
10 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
{
"compilerOptions": {
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"types": ["vite/client"],
"rootDirs": ["."],
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
{{#unless (or (eq backend "convex") (eq backend "none"))}}
"references": [{
"path": "../server"
}]
{{/unless}}
}