TypeScript config for Vercel API functions
cgen-3fe92d0d245745a6915a58750fee613a
This commit is contained in:
parent
96e4174ac4
commit
3ba129df07
1 changed files with 26 additions and 0 deletions
26
api/tsconfig.json
Normal file
26
api/tsconfig.json
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2020",
|
||||||
|
"module": "ES2020",
|
||||||
|
"lib": ["ES2020"],
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"strict": false,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"declaration": true,
|
||||||
|
"declarationMap": true,
|
||||||
|
"sourceMap": true,
|
||||||
|
"outDir": "./",
|
||||||
|
"rootDir": "./",
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["../client/*"],
|
||||||
|
"@shared/*": ["../shared/*"],
|
||||||
|
"@/server/*": ["../server/*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"include": ["./**/*.ts"],
|
||||||
|
"exclude": ["node_modules", "**/*.d.ts"]
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue