fix(ivy): export NgModuleFactory via r3_symbols for core factories (#25392)

When @angular/core is compiled by ngtsc, a factory file is generated
for ApplicationModule, that is currently invalid because r3_symbols
does not export NgModuleFactory. This change fixes that issue and
ensures the generated ngfactory file for @angular/core is valid.

PR Close #25392
This commit is contained in:
Alex Rickabaugh
2018-08-06 15:52:26 +02:00
committed by Ben Lesh
parent 2befc65777
commit 33fd7e0784
3 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ export {InjectableDef as ɵInjectableDef, InjectorDef as ɵInjectorDef, defineIn
export {inject} from './di/injector';
export {NgModuleDef as ɵNgModuleDef} from './metadata/ng_module';
export {defineNgModule as ɵdefineNgModule} from './render3/definition';
export {NgModuleFactory as ɵNgModuleFactory} from './render3/ng_module_ref';
/**
* The existence of this constant (in this particular file) informs the Angular compiler that the