angular/packages/compiler-cli
JoostK 01b7e3973a test(compiler-cli): disable emitDecoratorMetadata in the compiler test environment (#41586)
The `emitDecoratorMetadata` compiler option does not have to be enabled
as Angular decorators are transformed by the AOT compiler. Having the
option enabled in our tests can hide issues around import preservation,
as with `emitDecoratorMetadata` enabled the TypeScript compiler itself
does not elide imports even if they are only used in type-positions.
This is unlike having `emitDecoratorMetadata` disabled, however; in that
case the Angular compiler has to actively trick TypeScript into
retaining default imports when an identifier in a type-only position has
been reified into a value position for DI purposes.

A subsequent commit addresses a bug in default import preservation
that relies on this flag being `false`.

PR Close #41586
2021-04-13 07:37:28 -07:00
..
integrationtest refactor(core): add links to top runtime errors (#40326) 2021-01-19 10:14:56 -08:00
linker refactor(compiler-cli): implement ɵɵngDeclarePipe() (#40803) 2021-02-12 09:00:16 -08:00
ngcc perf(compiler-cli): refactor the performance tracing infrastructure (#41125) 2021-03-24 13:42:26 -07:00
src perf(compiler-cli): allow incremental compilation in the presence of redirected source files (#41587) 2021-04-13 07:35:33 -07:00
test test(compiler-cli): disable emitDecoratorMetadata in the compiler test environment (#41586) 2021-04-13 07:37:28 -07:00
BUILD.bazel build: emit performance JSON file for each ng_module() (#41125) 2021-03-24 13:42:26 -07:00
index.ts perf(compiler-cli): refactor the performance tracing infrastructure (#41125) 2021-03-24 13:42:26 -07:00
package.json build: update yargs dependency to 16.2.0. (#41392) 2021-04-01 13:41:26 -07:00
tsconfig-build.json build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
tsconfig.json perf(ivy): ngcc - only find dependencies when targeting a single entry-point (#30525) 2019-07-09 09:40:46 -07:00