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:
		
							parent
							
								
									2befc65777
								
							
						
					
					
						commit
						33fd7e0784
					
				| @ -46,6 +46,7 @@ const CORE_SUPPORTED_SYMBOLS = new Set<string>([ | |||||||
|   'ɵInjectableDef', |   'ɵInjectableDef', | ||||||
|   'ɵInjectorDef', |   'ɵInjectorDef', | ||||||
|   'ɵNgModuleDef', |   'ɵNgModuleDef', | ||||||
|  |   'ɵNgModuleFactory', | ||||||
| ]); | ]); | ||||||
| 
 | 
 | ||||||
| export class ImportManager { | export class ImportManager { | ||||||
|  | |||||||
| @ -23,7 +23,7 @@ export {InjectableDef as ɵInjectableDef, InjectorDef as ɵInjectorDef, defineIn | |||||||
| export {inject} from './di/injector'; | export {inject} from './di/injector'; | ||||||
| export {NgModuleDef as ɵNgModuleDef} from './metadata/ng_module'; | export {NgModuleDef as ɵNgModuleDef} from './metadata/ng_module'; | ||||||
| export {defineNgModule as ɵdefineNgModule} from './render3/definition'; | 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 |  * The existence of this constant (in this particular file) informs the Angular compiler that the | ||||||
|  | |||||||
| @ -198,7 +198,7 @@ | |||||||
|     "name": "ViewEncapsulation$1" |     "name": "ViewEncapsulation$1" | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     "name": "ViewRef$1" |     "name": "ViewRef" | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     "name": "_CLEAN_PROMISE" |     "name": "_CLEAN_PROMISE" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user