2022-01-17 14:50:31 +08:00
|
|
|
|
{
|
2022-12-30 23:46:51 +08:00
|
|
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
2022-01-17 14:50:31 +08:00
|
|
|
|
"compilerOptions": {
|
2022-12-30 23:46:51 +08:00
|
|
|
|
"incremental": true, // TS编译器在第一次编译之后会生成一个存储编译信息的文件,第二次编译会在第一次的基础上进行增量编译,可以提高编译的速度
|
|
|
|
|
"tsBuildInfoFile": "./buildFile", // 增量编译文件的存储位置
|
2022-06-06 01:51:08 +08:00
|
|
|
|
"allowJs": true,
|
|
|
|
|
"checkJs": false,
|
2022-01-17 14:50:31 +08:00
|
|
|
|
"sourceMap": true,
|
|
|
|
|
"declaration": false,
|
|
|
|
|
"moduleResolution": "node",
|
2022-08-23 22:08:23 +08:00
|
|
|
|
"emitDecoratorMetadata": false,
|
2022-06-06 01:51:08 +08:00
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
|
"esModuleInterop": true,
|
2022-01-17 14:50:31 +08:00
|
|
|
|
"experimentalDecorators": true,
|
2022-06-14 17:22:38 +08:00
|
|
|
|
"resolveJsonModule": true,
|
2022-06-06 01:51:08 +08:00
|
|
|
|
"skipLibCheck": true,
|
2022-04-17 09:39:20 +08:00
|
|
|
|
"module": "commonjs",
|
2022-06-02 21:05:11 +08:00
|
|
|
|
"outDir": "./out",
|
2022-06-06 01:51:08 +08:00
|
|
|
|
"rootDir": "./src",
|
2022-06-14 17:22:38 +08:00
|
|
|
|
"target": "es6",
|
2022-12-30 23:46:51 +08:00
|
|
|
|
"types": ["node"],
|
|
|
|
|
"lib": ["ESNext", "dom"],
|
2022-05-23 12:39:35 +08:00
|
|
|
|
"baseUrl": ".",
|
|
|
|
|
"paths": {
|
2022-12-30 23:46:51 +08:00
|
|
|
|
"eo/*": ["./src/*"]
|
2022-05-23 12:39:35 +08:00
|
|
|
|
}
|
2022-01-17 14:50:31 +08:00
|
|
|
|
},
|
2022-12-30 23:46:51 +08:00
|
|
|
|
"include": ["**/*.d.ts", "./src/**/**.ts", "./src/**/**.js", "scripts/build.js"],
|
|
|
|
|
"exclude": ["node_modules", "**/*.spec.ts", "**/browser/**/*.js", "**/browser/**/*.ts", "out"],
|
2022-01-17 14:50:31 +08:00
|
|
|
|
"angularCompilerOptions": {
|
2022-04-17 09:39:20 +08:00
|
|
|
|
"enableIvy": true
|
2022-01-17 14:50:31 +08:00
|
|
|
|
}
|
|
|
|
|
}
|