angular/packages/compiler-cli/linker/babel
Paul Gschwendtner c9415e4d75 build: ensure bootstrap transitive runfiles are made available (#48521)
Since we generate a `.mjs` file as entry-point for jasmine tests,
a couple of issues prevented the transitive dependencies from
bootstrap targets to be brought in (causing resolution errors):

1. The `_files` (previously `_esm2015`) targets are no longer needed,
   and they also miss all the information on runfiles.
2. The aspect for computing linker mappings does not respect the
   `bootstrap` attribute from the `spec_entrypoint` so we manually
   add the extract ESM output targets (this rule works with the aspect
   and forwards linker mappings).

PR Close #48521
2022-12-19 19:50:41 +00:00
..
src ci: fix formatting for babel_ast_host.ts file after recent changes (#46082) 2022-05-23 13:30:38 -07:00
test build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
BUILD.bazel refactor(localize): update version of Babel (#44931) 2022-02-24 21:42:54 +00:00
index.ts fix(compiler-cli): expose the linker as a Babel plugin (#41918) 2021-05-04 12:43:00 -07:00
README.md refactor(compiler-cli): linker - add Babel plugin, FileLinker and initial PartialLinkers (#39116) 2020-10-19 11:23:45 -07:00

Angular linker - Babel plugin

This package contains a Babel plugin that can be used to find and link partially compiled declarations in library source code. See the linker package README for more information.

Unit Testing

The unit tests are built and run using Bazel:

yarn bazel test //packages/compiler-cli/linker/babel/test