forked from Tencent/tdesign-mobile-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
30 lines (30 loc) · 867 Bytes
/
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
{
"compilerOptions": {
"jsx": "react",
"experimentalDecorators": true,
"moduleResolution": "node",
"module": "esnext",
"target": "esnext",
"outDir": "lib",
"declaration": true,
"sourceMap": true,
"lib": ["esnext", "dom"],
"importHelpers": true,
"allowSyntheticDefaultImports": true,
"baseUrl": "./",
"paths": {
"tdesign-mobile-react": ["src"],
"tdesign-mobile-react/*": ["src/*"],
"tdesign-mobile-react/es/locale/*": ["src/locale/*"],
"@test/utils": ["test/utils"],
"@common/*": ["src/_common/*"]
},
"allowJs": true,
"checkJs": true,
"downlevelIteration": true,
"esModuleInterop": true
},
"include": ["./src", "./global.d.ts"],
"exclude": ["node_modules", "src/_common", "dist", "lib", "cjs", "esm", "es", "site", "**/*.jsx"],
"compileOnSave": false
}