| 
									
										
										
										
											2018-07-16 08:49:56 +01:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @license | 
					
						
							|  |  |  |  * Copyright Google Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Use of this source code is governed by an MIT-style license that can be | 
					
						
							|  |  |  |  * found in the LICENSE file at https://angular.io/license
 | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2019-05-15 13:38:19 +01:00
										 |  |  | import {CachedFileSystem, NodeJSFileSystem, setFileSystem} from '../src/ngtsc/file_system'; | 
					
						
							| 
									
										
										
										
											2018-07-16 08:49:56 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-15 13:38:19 +01:00
										 |  |  | import {mainNgcc} from './src/main'; | 
					
						
							| 
									
										
										
										
											2019-03-29 10:13:14 +00:00
										 |  |  | export {ConsoleLogger, LogLevel} from './src/logging/console_logger'; | 
					
						
							|  |  |  | export {Logger} from './src/logging/logger'; | 
					
						
							| 
									
										
										
										
											2019-05-15 13:38:19 +01:00
										 |  |  | export {NgccOptions} from './src/main'; | 
					
						
							| 
									
										
										
										
											2019-04-28 20:47:57 +01:00
										 |  |  | export {PathMappings} from './src/utils'; | 
					
						
							| 
									
										
										
										
											2019-03-20 13:47:59 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-15 13:38:19 +01:00
										 |  |  | export function process(...args: Parameters<typeof mainNgcc>) { | 
					
						
							|  |  |  |   // Recreate the file system on each call to reset the cache
 | 
					
						
							|  |  |  |   setFileSystem(new CachedFileSystem(new NodeJSFileSystem())); | 
					
						
							|  |  |  |   return mainNgcc(...args); | 
					
						
							|  |  |  | } |