| 
									
										
										
										
											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'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const globals = { | 
					
						
							|  |  |  |   '@angular/core': 'ng.core', | 
					
						
							|  |  |  |   '@angular/common': 'ng.common', | 
					
						
							|  |  |  |   '@angular/compiler': 'ng.compiler', | 
					
						
							|  |  |  |   '@angular/platform-browser': 'ng.platformBrowser', | 
					
						
							|  |  |  |   '@angular/platform-browser-dynamic': 'ng.platformBrowserDynamic', | 
					
						
							|  |  |  |   '@angular/platform-webworker': 'ng.platformWebworker', | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  | export default { | 
					
						
							| 
									
										
										
										
											2017-03-07 11:04:30 -08:00
										 |  |  |   entry: | 
					
						
							|  |  |  |       '../../dist/packages-dist/platform-webworker-dynamic/@angular/platform-webworker-dynamic.es5.js', | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  |   dest: | 
					
						
							| 
									
										
										
										
											2017-03-06 16:51:03 -08:00
										 |  |  |       '../../dist/packages-dist/platform-webworker-dynamic/bundles/platform-webworker-dynamic.umd.js', | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  |   format: 'umd', | 
					
						
							| 
									
										
										
										
											2017-01-30 23:28:56 +00:00
										 |  |  |   exports: 'named', | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  |   moduleName: 'ng.platformWebworkerDynamic', | 
					
						
							| 
									
										
										
										
											2017-05-23 13:01:39 -07:00
										 |  |  |   plugins: [resolve()], | 
					
						
							|  |  |  |   external: Object.keys(globals), | 
					
						
							|  |  |  |   globals: globals | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  | }; |