mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-14 09:37:18 +08:00
Excludes CLI workspace projects from main project/IDE tsconfig to speed up language service actions and linting. Those files should not be considered part of the development sources.
42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"esModuleInterop": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"noEmitOnError": true,
|
|
"stripInternal": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"isolatedModules": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "es2022",
|
|
"lib": ["es2022"],
|
|
"rootDir": ".",
|
|
"rootDirs": [".", "./dist-schema/bin/"],
|
|
"paths": {
|
|
"@angular-devkit/build-webpack": ["./packages/angular_devkit/build_webpack"],
|
|
"@angular-devkit/build-angular": ["./packages/angular_devkit/build_angular"],
|
|
"@angular-devkit/*": ["./packages/angular_devkit/*/index"],
|
|
"@angular/ssr": ["./packages/angular/ssr"],
|
|
"@angular/ssr/node": ["./packages/angular/ssr/node"],
|
|
"@angular/*": ["./packages/angular/*/src"],
|
|
"@angular/build/private": ["./packages/angular/build/src/private"],
|
|
"@ngtools/webpack": ["./packages/ngtools/webpack/index"],
|
|
"@schematics/angular": ["./packages/schematics/angular"],
|
|
"@schematics/angular/utility": ["./packages/schematics/angular/utility/index"]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"dist/**/*",
|
|
"dist-schema/**",
|
|
"**/node_modules/**/*",
|
|
"**/third_party/**/*",
|
|
"packages/angular_devkit/schematics_cli/schematic/files/**/*",
|
|
"modules/testing/builder/projects/**/*",
|
|
"packages/angular_devkit/build_angular/test/**/*",
|
|
"packages/angular_devkit/build_webpack/test/**/*"
|
|
]
|
|
}
|