-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
41 lines (41 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
41
{
"compilerOptions": {
"target": "es2020",
"lib": ["dom", "dom.iterable", "esnext", "es2020"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": "./",
// custom paths
"paths": {
// pages
"@pages" : ["src/pages/index.tsx"],
"@pages/*" : ["src/pages/*"],
// style
"@styles" : ["src/styles/index.ts"],
"@styles/*" : ["src/styles/*"],
// common
"@components" : ["src/components/index.ts"],
"@components/*" : ["src/components/*"],
// theme
"@theme" : ["src/theme/index.ts"],
"@theme/*" : ["src/theme/*"],
// utils
"@utils" : ["src/utils/index.ts"],
"@utils/*" : ["src/utils/*"],
// public
"@public/*" : ["public/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}