42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"types": ["vite/client"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
|
|
/* TypeScript 컴파일용 경로 별칭(alias) 설정 */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@components/*": ["src/components/*"],
|
|
"@assets/*": ["src/assets/*"],
|
|
"@pages/*": ["src/pages/*"],
|
|
"@types/*": ["src/types/*"],
|
|
"@recoil/*": ["src/recoil/*"],
|
|
"@apis/*": ["src/apis/*"],
|
|
}
|
|
},
|
|
"include": ["src"],
|
|
// "references": [{"path": "./tsconfig.node.json"}]
|
|
}
|