mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-12-01 19:28:14 +08:00
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
||
"$schema": "https://json.schemastore.org/tsconfig",
|
||
"compilerOptions": {
|
||
"incremental": true, // TS编译器在第一次编译之后会生成一个存储编译信息的文件,第二次编译会在第一次的基础上进行增量编译,可以提高编译的速度
|
||
"tsBuildInfoFile": "./buildFile", // 增量编译文件的存储位置
|
||
"allowJs": true,
|
||
"checkJs": false,
|
||
"sourceMap": true,
|
||
"declaration": false,
|
||
"moduleResolution": "node",
|
||
"emitDecoratorMetadata": false,
|
||
"allowSyntheticDefaultImports": true,
|
||
"esModuleInterop": true,
|
||
"experimentalDecorators": true,
|
||
"resolveJsonModule": true,
|
||
"skipLibCheck": true,
|
||
"module": "commonjs",
|
||
"outDir": "./out",
|
||
"rootDir": "./src",
|
||
"target": "es6",
|
||
"types": ["node"],
|
||
"lib": ["ESNext", "dom"],
|
||
"baseUrl": ".",
|
||
"paths": {
|
||
"pc/*": ["./src/*"]
|
||
}
|
||
},
|
||
"include": [
|
||
"**/*.d.ts",
|
||
"./src/**/**.ts",
|
||
"./src/**/**.js",
|
||
"scripts/build.js",
|
||
"test/e2e/test.ts",
|
||
"test/e2e/test.ts",
|
||
"src/node/extensions-manage/extension-manage.js",
|
||
"src/node/test-server/ecosystem.config.js"
|
||
],
|
||
"exclude": ["node_modules", "**/*.spec.ts", "**/browser/**/*.js", "**/browser/**/*.ts", "out"],
|
||
"angularCompilerOptions": {
|
||
"enableIvy": true
|
||
}
|
||
}
|