-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
41 lines (41 loc) · 1.17 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
41
{
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// 不要打开这个开关,影响 decorator 设置 setter/getter
// "useDefineForClassFields": true,
"downlevelIteration": true,
"target": "ES2015",
"module": "ESNext",
"lib": ["ESNext", "DOM"],
"moduleResolution": "Node",
"declaration": true,
"outDir": "dist/esm",
"strict": true,
"strictPropertyInitialization": false,
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"baseUrl": "./src",
"paths": {
"Bluebird": ["bluebird"],
"@actions/index": ["./actions/index"],
"@api/index": ["./api/index"],
"@shapes/index": ["./shapes/index"],
"@input/index": ["./input/index"],
"@helpers/index": ["./helpers/index"],
"@actions/*": ["./actions/*"],
"@api/*": ["./api/*"],
"@shapes/*": ["./shapes/*"],
"@input/*": ["./input/*"],
"@helpers/*": ["./helpers/*"]
},
"plugins": [
{
"transform": "@zerollup/ts-transform-paths"
}
]
},
"include": ["./src", "./vite-env.d.ts"],
"exclude": ["./src/__action/*", "./src/renderer"]
}