-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
55 lines (54 loc) · 1.07 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/",
"sourceMap": true,
"noImplicitAny": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"moduleResolution": "node",
"declaration": true,
"downlevelIteration": true,
"declarationMap": false,
"module": "esnext",
"target": "ES2020",
"esModuleInterop": true,
"baseUrl": "./",
"paths": {
"cheap/*": ["./src/cheap/*"],
"common/*": ["./src/common/*"]
},
"typeRoots": [
"./node_modules/@types",
],
"types": [
"node"
],
"lib": [
"dom",
"ESNext"
],
"allowJs": false
},
"include": [
"src/**/*.ts",
"@types/index.d.ts"
],
"exclude": [
"*.test.ts",
"__test__",
"/node_modules/**",
"./src/cheap/transformer/**"
],
"cheap": {
"defined": {
// 开启 debug 编译
"DEBUG": false,
// 开启多线程
"ENABLE_THREADS": true,
// 是否开启多线程代码分割
"ENABLE_THREADS_SPLIT": false,
"ENABLE_LOG_PATH": true
}
}
}