-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
35 lines (35 loc) · 1.04 KB
/
tsconfig.json
File metadata and controls
35 lines (35 loc) · 1.04 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
{
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"@apis/*": ["apis/*"],
"@components/*": ["components/*"],
"@hooks/*": ["hooks/*"],
"@interfaces/*": ["interfaces/*"],
"@lib/*": ["lib/*"],
"@pages/*": ["pages/*"],
"@utils/*": ["utils/*"],
"@states/*": ["states/*"],
"@contexts/*": ["contexts/*"],
"@styles/*": ["styles/*"],
"@errors/*": ["errors/*"],
"@routes/*": ["routes/*"]
},
"outDir": "./dist",
"allowJs": true, // JS 파일 허용
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"target": "es2016",
"lib": ["dom", "dom.iterable", "esnext", "ES2016"],
"jsx": "react-jsx",
"module": "ESNext",
"moduleResolution": "node",
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": false, // 파일명 변경했을 때 오류 해결하기 위해 true -> false
"strict": true,
"noUnusedParameters": true,
"skipLibCheck": true
},
"include": ["src", "types"],
"exclude": ["node_modules", "build"]
}