-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
63 lines (61 loc) · 1.58 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"compilerOptions": {
"incremental": true,
"target": "ES6",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
// "composite": true, // MIGRATE TODO: disabled to get rid of errors in velite config, is this needed?
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"baseUrl": ".",
"paths": {
"@/components/*": ["components/*"],
"@/content/*": ["content/*"],
"@/layouts/*": ["layouts/*"],
"@/css/*": ["css/*"],
"@/utils/*": ["utils/*"],
"@/velite/generated": ["./.velite"]
},
"plugins": [
{
"name": "next"
}
],
"strictNullChecks": true
},
"include": [
"next-env.d.ts",
"**/*.js",
"**/*.mjs",
"**/*.ts",
"**/*.mts",
"**/*.tsx",
"**/*.json",
".velite",
".next/types/**/*.ts",
"velite.config.ts"
],
"exclude": ["node_modules"],
"ts-node": {
// It is faster to skip typechecking.
// Remove if you want ts-node to do typechecking.
"transpileOnly": true,
"files": true,
"compilerOptions": {
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "NodeNext"
// compilerOptions specified here will override those declared below,
// but *only* in ts-node. Useful if you want ts-node and tsc to use
// different options with a single tsconfig.json.
}
}
}