-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtsconfig.json
42 lines (42 loc) · 1.09 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
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"target": "ES2017",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"strictNullChecks": true,
"jsx": "preserve",
"baseUrl": ".",
"paths": {
// don't have to be in order
"@/app/*": ["app/*"],
"@/components/*": ["components/*"],
"@/hooks/*": ["hooks/*"],
"@/modules/*": ["modules/*"],
"@/libs/*": ["libs/*"],
"@/utils/*": ["utils/*"],
"@/constants/*": ["constants/*"],
"@/data/*": ["data/*"],
"@/config/*": ["config/*"],
"@/types/*": ["types/*"],
"@/assets/*": ["assets/*"],
"@/styles/*": ["styles/*"]
},
"plugins": [
{
"name": "next"
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules", "docs"]
}