-
Notifications
You must be signed in to change notification settings - Fork 738
/
tsconfig.json
40 lines (40 loc) · 1.14 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
34
35
36
37
38
39
40
{
"compilerOptions": {
"baseUrl": ".",
"outDir": "temp",
"target": "ESNext",
"module": "ESNext",
"strict": true,
"jsx": "preserve",
"moduleResolution": "bundler",
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"importHelpers": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"sourceMap": true,
"useDefineForClassFields": true,
"lib": ["ESNext", "DOM"],
"paths": {
// 内部模块都指向 src/index.ts, 会有更好的代码跳转体验.
"@tmagic/*": ["./packages/*/src"],
"@tmagic/tmagic-form-runtime": ["./runtime/tmagic-form/src"],
"@tmagic/vue-runtime-help": ["./runtime/vue-runtime-help/src"],
"@tmagic/react-runtime-help": ["./runtime/react-runtime-help/src"],
"@editor/*": ["./packages/editor/src/*"],
"@form/*": ["./packages/form/src/*"],
"@data-source/*": ["./packages/data-source/src/*"],
},
"types": [
"node",
"vite/client",
"./shims-vue",
],
},
"exclude": [
"**/dist/**/*",
"**/node_modules/**/*",
],
}