forked from jcyicai/vue-next-mini
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
44 lines (44 loc) · 986 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
{
"compilerOptions": {
// 根目录
"rootDir": ".",
// 严格模式标注
"strict": true,
// 指定类型脚本如何从给定的模块说明符查找文件
"moduleResolution": "node",
"esModuleInterop": true,
// JS 语言版本
"target": "es5",
// 云讯未读取局部变量
"noUnusedLocals": false,
// 允许未读取参数
"noUnusedParameters": false,
// 允许解析 json
"resolveJsonModule": true,
//支持语法迭代
"downlevelIteration": true,
// 允许使用隐式的 any 类型
"noImplicitAny": false,
// 模块化
"module": "ESNext",
// 转换为 js 时 从 ts 文件中删除所有注释
"removeComments": false,
// 禁用 sourceMap
"sourceMap": false,
"lib": [
"ESNext",
"DOM"
],
"baseUrl": ".",
// 路径映射
"paths": {
"@vue/*": [
"packages/*/src"
]
}
},
// 入口
"include": [
"packages/*/src"
]
}