angular/packages/tsconfig.json
Andrew Kushnir 83a6e203e3 refactor(compiler): drop obsolete NgFactory and NgSummary config options (#48268)
The options to generate NgFactory and NgSummary files were added to Ivy for backwards compatibility with ViewEngine. Since ViewEngine was deprecated and removed, the NgFactory and NgSummary files are no longer used as well.

This commit drops obsolete options to generate NgFactory and NgSummary files. Also, the logic that generates those files is also removed.

PR Close #48268
2023-02-21 13:03:59 -08:00

53 lines
1.8 KiB
JSON

{
"compilerOptions": {
// Setting the "baseUrl" to a different directory than "packages/" because otherwise
// packages like the native "http" module are resolved to the Angular "http" package.
"baseUrl": "..",
"declaration": true,
"downlevelIteration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"module": "esnext",
"target": "es2020",
"strict": true,
"moduleResolution": "node",
"esModuleInterop": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"outDir": "../dist/all/@angular",
"noImplicitAny": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"paths": {
"selenium-webdriver": ["./node_modules/@types/selenium-webdriver/index.d.ts"],
"rxjs/*": ["./node_modules/rxjs/*"],
"@angular/*": ["./packages/*"],
"zone.js/*": ["./packages/zone.js/*"],
"angular-in-memory-web-api": ["./packages/misc/angular-in-memory-web-api/index.ts"]
},
"rootDir": ".",
"inlineSourceMap": true,
"lib": ["es2020", "dom"],
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"types": ["angular"]
},
"bazelOptions": {
"suppressTsconfigOverrideWarnings": true
},
"exclude": [
"common/locales",
"compiler-cli/integrationtest",
"compiler-cli/test/compliance",
"core/schematics",
"elements/schematics",
// Do not build the example package because there are no legacy tests that need to be
// built. Additionally the examples are not made compatible with the "strict" option.
"examples/**",
// Http doesn't need to built since it is no longer maintained and
// will be removed eventually. See: FW-1392.
"http/**",
"language-service/ivy/test/legacy/project",
"platform-server/integrationtest",
]
}