-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
34 lines (34 loc) · 981 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
{
"compilerOptions": {
"target": "es2017",
"lib": ["dom", "dom.iterable", "esnext"],
"baseUrl": "./",
"paths": {
// We need to specify this explicitly, so that Vitest can pick it up and work
"@/*": ["./*"]
},
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"noUncheckedIndexedAccess": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo",
"noErrorTruncation": true, // https://stackoverflow.com/a/53131824
"plugins": [
{
"name": "next"
}
]
},
"exclude": ["node_modules", "**/*.e2e.ts", "cypress", "src/core/templates"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "types", ".next/types/**/*.ts"]
}