mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Instead of maintaining individual transforms for `input`, `output`, `model` etc. we are grouping them directly and the first one matching, will execute. This reduces needed traversal through AST and also makes it a little more clean to write new initializer API metadata transforms. Note: The Angular JIT transform is now also moving from `tooling.ts` directly into `/transformers` for more local placement of transformer logic. PR Close #54200 |
||
|---|---|---|
| .. | ||
| babel.d.ts | ||
| bazel.ts | ||
| BUILD.bazel | ||
| localize.ts | ||
| migrations.ts | ||
| README.md | ||
| tooling.ts | ||
This is a directory defining the @angular/compiler-cli/private entry-point. The entry-point can be used to
expose code that is needed by other Angular framework packages, without having to expose code through the primary
entry-point.
The primary entry-point has a couple of downsides when it comes to cross-package imports:
- It exports various other things that will end up creating additional type dependencies. e.g. when
the Angular localize package relies on it, it might end up accidentally relying on
@types/node. - The primary entry-point has a larger build graph, slowing down local development as much more things can invalidate the dependent targets. A smaller subset leads to faster incremental builds.