feat(compiler-cli): expose ngtsc as a TscPlugin (#28431)

This lets us run ngtsc under the tsc_wrapped custom compiler (Used in Bazel)
It also allows others to simply wire ngtsc into an existing typescript compilation binary

PR Close #28431
This commit is contained in:
Alex Eagle
2019-01-29 08:22:03 -08:00
committed by Jason Aden
parent e18a52e24a
commit 22f76df8f2
6 changed files with 172 additions and 5 deletions

View File

@ -24,3 +24,4 @@ export {CompilerOptions as AngularCompilerOptions} from './src/transformers/api'
export {NgTools_InternalApi_NG_2 as __NGTOOLS_PRIVATE_API_2} from './src/ngtools_api';
export {ngToTsDiagnostic} from './src/transformers/util';
export {NgTscPlugin} from './src/ngtsc/tsc_plugin';