-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
46 lines (46 loc) · 915 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": false,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
// "resolveJsonModule": true,
"baseUrl": ".",
"types": [],
"paths": {
"@/*": [
"src/*"
]
},
"declaration": true, // 是否生成声明文件
"declarationDir": "dist/types",
"outDir": "dist/lib",
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"include": [
"rollup.config.ts",
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"package/**/*.ts",
"package/**/*.d.ts",
"package/**/*.tsx",
"package/**/*.vue",
"type/**/*.ts"
],
"exclude": [
"node_modules"
]
}