mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This allows the linker to be used as a true Babel plugin. In a Babel
configuration file, include the linker as follows:
```js
{
plugins: [
'@angular/compiler-cli/linker/babel',
]
}
```
or, if you need to specify configuration options:
```js
{
plugins: [
['@angular/compiler-cli/linker/babel', {linkerJitMode: true}],
]
}
```
PR Close #41918
|
||
|---|---|---|
| .. | ||
| ast | ||
| babel_declaration_scope_spec.ts | ||
| babel_plugin_spec.ts | ||
| BUILD.bazel | ||
| es2015_linker_plugin_spec.ts | ||