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

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 #27806
This commit is contained in:
Alex Eagle
2019-01-18 08:43:36 -08:00
committed by Jason Aden
parent 8ced999e47
commit 59cc724e3b
5 changed files with 171 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';