-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
40 lines (35 loc) · 1023 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"compilerOptions": {
/* Basic Options */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2022",
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
/* Default library settings */
"lib": ["ES2022"],
/* Vite specific settings */
"types": ["vitest/importMeta"],
/* We transpile with tsup */
"noEmit": true,
"module": "Preserve",
"moduleResolution": "Bundler"
/* If transpiling with TypeScript: */
//"moduleResolution": "NodeNext",
//"module": "NodeNext",
//"outDir": "dist",
//"sourceMap": true,
/* AND if you're building for a library: */
//"declaration": true,
/* AND if you're building for a library in a monorepo: */
//"composite": true,
//"declarationMap": true,
},
"include": ["*.*ts", "*.*js", "packages/**/*"]
}