-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
40 lines (40 loc) · 1.14 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
{
"compilerOptions": {
/*
Note that the "module" setting will be overriden by nextjs automatically
(cf. https://github.com/zeit/next.js/discussions/10780).
If you need to change it, you should use the --compiler-options or provide a separate
tsconfig.json entirely.
*/
"module": "esnext",
"target": "ES2019",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"paths": {
"@root/*": ["./*"],
"@client/*": ["./src/client/*"],
"@components/*": ["./src/client/components/*"],
"@styles/*": ["./src/client/styles/*"],
"@server/*": ["./src/server/*"],
"@shared/*": ["./src/shared/*"]
}
},
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "global.d.ts", "**/*.ts", "**/*.tsx"],
"ts-node": {
"compilerOptions": {
"module": "commonjs"
}
}
}