-
Notifications
You must be signed in to change notification settings - Fork 20
/
tsconfig.json
33 lines (33 loc) · 1.31 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
27
28
29
30
31
32
33
{
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"moduleResolution": "node",
"jsx": "react-jsx",
"jsxImportSource": "@emotion/react",
"esModuleInterop": true,
"types": ["node", "vitest/globals"],
"declaration": true,
// TS 编译时跳过对 node_modules 依赖的检查
"skipLibCheck": true,
"resolveJsonModule": true,
"baseUrl": "./",
"paths": {
// ref: https://github.com/microsoft/TypeScript/issues/29808#issuecomment-540292885
"@ant-design/cssinjs": ["node_modules/@ant-design/cssinjs"],
"@@/*": [".dumi/tmp/*"],
"@oceanbase/design": ["packages/design/src/index.ts"],
"@oceanbase/design/es/*": ["packages/design/src/*"],
"@oceanbase/design/locale/*": ["packages/design/src/locale/*"],
"@oceanbase/icons": ["packages/icons/src/index.ts"],
"@oceanbase/icons/es/*": ["packages/icons/src/*"],
"@oceanbase/ui": ["packages/ui/src/index.ts"],
"@oceanbase/ui/es/*": ["packages/ui/src/*"],
"@oceanbase/ui/locale/*": ["packages/ui/src/locale/*"],
"@oceanbase/charts": ["packages/charts/src/index.ts"],
"@oceanbase/charts/es/*": ["packages/charts/src/*"],
"@oceanbase/util": ["packages/util/src/index.ts"]
}
},
"exclude": ["node_modules", "build", "es", "lib", "dist", "scripts"]
}