angular/packages/tsconfig-legacy-saucelabs.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

36 lines
1.5 KiB
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../dist/legacy-test-out",
"target": "ES2015",
"module": "esnext",
"importHelpers": true,
// The project uses Bazel for TypeScript compilation. Unlike with Bazel, we build all
// sources as part of a single TypeScript compilation. This results in `@internal`
// declarations not being omitted between the logical as defined per the Bazel targets.
// This can cause issues where the `override` keyword is needed for the legacy TS
// compilation, but not within Bazel where the overridden member has `@internal`.
"noImplicitOverride": false,
// We run the decorator downlevel transform when compiling the sources and tests.
// Given that is the case, we do not need additional `design` metadata being emitted.
// The default TS decorator metadata would also not work with ES2015 JIT.
// https://github.com/angular/angular/issues/30106.
"emitDecoratorMetadata": false
},
"exclude": [
// Exclusions from the parent `tsconfig` need to be merged manually here.
"bazel",
"common/locales",
"compiler-cli/integrationtest",
"compiler-cli/test/compliance",
"core/schematics",
"elements/schematics",
"examples/**",
"http/**",
"platform-server/integrationtest",
// Additional exclusion since tests for the language-service never run within the
// Saucelabs job and the package is not compatible with ESM TS compilation anyway.
"language-service/**"
]
}