-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
59 lines (59 loc) · 1.24 KB
/
tsconfig.json
File metadata and controls
59 lines (59 loc) · 1.24 KB
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
{
"compilerOptions": {
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
// 기본 경로를 프로젝트 최상단으로 설정
"baseUrl": ".",
// 일부를 aliasing 하여 절대경로의 길이를 축소함
// 특정 파일을 import 할 때, import 경로가 가장 먼저 일치하는 paths의 프로퍼티 값의 프로퍼티가 상단에 써짐
"paths": {
"@libs/*": [
"src/libs/*"
],
"@styles/*": [
"src/styles/*"
],
"@services/*": [
"src/services/*"
],
"@app/*": [
"src/app/*"
],
// 아직 alias 하지 않은 src 내 경로의 경우 이 곳에 해당됨
"@/*": [
"src/*"
],
"@public/*": [
"public/*"
],
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}