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

@ -46,6 +46,7 @@ const CORE_SUPPORTED_SYMBOLS = new Set<string>([
'ɵInjectableDef',
'ɵInjectorDef',
'ɵNgModuleDef',
'ɵNgModuleFactory',
]);
export class ImportManager {