- build 스크립트를 ait build에서 직접 granite CLI 호출로 변경 (ait build가 --no-cache 옵션을 granite에 전달하나 미지원 버그) - typescript, @types/react, @types/react-dom, @types/webpack-env 설치 - @toss/tds-react-native 누락 peer dependency 설치 - tsconfig.json: ignoreDeprecations 및 webpack-env 타입 설정 추가 - require.context.ts: webpack/granite-js RequireContext 타입 호환 수정 - global.d.ts: 전역 타입 선언 파일 추가 Co-Authored-By: Paperclip <noreply@paperclip.ing>
24 lines
544 B
JSON
24 lines
544 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"lib": ["ESNext", "DOM"],
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "@emotion/react",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"ignoreDeprecations": "6.0",
|
|
"types": ["webpack-env"],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": ["**/*.ts", "**/*.tsx"],
|
|
"exclude": ["node_modules"]
|
|
}
|