| 
									
										
										
										
											2017-03-02 12:12:46 -08: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
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-23 13:01:39 -07:00
										 |  |  | import resolve from 'rollup-plugin-node-resolve'; | 
					
						
							| 
									
										
										
										
											2017-08-02 19:15:30 -07:00
										 |  |  | import sourcemaps from 'rollup-plugin-sourcemaps'; | 
					
						
							| 
									
										
										
										
											2017-05-23 13:01:39 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | const globals = { | 
					
						
							|  |  |  |   '@angular/core': 'ng.core', | 
					
						
							|  |  |  |   '@angular/common': 'ng.common', | 
					
						
							|  |  |  |   '@angular/router': 'ng.router', | 
					
						
							|  |  |  |   '@angular/upgrade/static': 'ng.upgrade.static' | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  | export default { | 
					
						
							| 
									
										
										
										
											2017-09-13 16:20:29 -07:00
										 |  |  |   entry: '../../../dist/packages-dist/router/esm5/upgrade.js', | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  |   dest: '../../../dist/packages-dist/router/bundles/router-upgrade.umd.js', | 
					
						
							|  |  |  |   format: 'umd', | 
					
						
							| 
									
										
										
										
											2017-01-30 23:28:56 +00:00
										 |  |  |   exports: 'named', | 
					
						
							| 
									
										
										
										
											2017-09-28 09:29:22 -07:00
										 |  |  |   amd: {id: '@angular/router/upgrade'}, | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  |   moduleName: 'ng.router.upgrade', | 
					
						
							| 
									
										
										
										
											2017-08-02 19:15:30 -07:00
										 |  |  |   plugins: [resolve(), sourcemaps()], | 
					
						
							| 
									
										
										
										
											2017-05-23 13:01:39 -07:00
										 |  |  |   external: Object.keys(globals), | 
					
						
							|  |  |  |   globals: globals | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  | }; |