-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
40 lines (40 loc) · 875 Bytes
/
tsconfig.json
File metadata and controls
40 lines (40 loc) · 875 Bytes
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": {
"target": "es2017",
"module": "ESNext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"alwaysStrict": true,
"sourceMap": false,
"noEmit": false,
"noEmitHelpers": false,
"importHelpers": false,
"strictNullChecks": false,
"allowUnreachableCode": true,
"lib": [
"es6",
"dom"
],
"typeRoots": [
"./node_modules/@types"
],
"outDir": "./build",
// 重定向输出目录
"rootDir": "./src"
// 仅用来控制输出的目录结构
},
"exclude": [
// 不参与打包的目录
"node_modules",
"build"
],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"compileOnSave": false,
"buildOnSave": false,
"ts-node": {
"esm": true
}
}