-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
26 lines (25 loc) · 1.05 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
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"jsx": "react-jsx",
"jsxImportSource": "@emotion/react",
"sourceMap": true,
"outDir": "./dist",
"isolatedModules": true, // 각각 소스코드 파일을 모듈화하며, Babel이 TS파일을 안전하게 트랜스파일 하는지 확인한다.
"strict": true,
"declaration": true, // .d.ts 파일을 출력물에 포함한다.
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": false,
"skipLibCheck": true,
"resolveJsonModule": true,
"noEmitOnError": true // 타입체크에 문제가 있을 때 결과물을 생성하지 않는다 **
},
"include": ["./src/**/*"], // src 디렉토리 하위 파일들을 대상으로 tsc가 실행된다.
"exclude": ["node_modules", ".vscode"] // 해당 경로들은 제외한다.
}