1 | {
|
2 | "compilerOptions": {
|
3 | "module": "commonjs", //指定生成哪个模块系统代码
|
4 | "target": "es2017", //目标代码类型
|
5 | "noImplicitAny": true, //在表达式和声明上有隐含的'any'类型时报错。
|
6 | "sourceMap": false, //用于debug
|
7 | // "rootDir": "./build", //仅用来控制输出的目录结构--outDir。
|
8 | "outDir": "./dist", //重定向输出目录。
|
9 | "watch": false, //在监视模式下运行编译器。会监视输出文件,在它们改变时重新编译。
|
10 | "noUnusedLocals": true,
|
11 | "strict": true,
|
12 | "experimentalDecorators": true
|
13 | },
|
14 | "include": [
|
15 | "src/**/*",
|
16 | // "test/**/*"
|
17 | ]
|
18 | } |
\ | No newline at end of file |