| 
									
										
										
										
											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-10-30 10:55:45 -07:00
										 |  |  | const resolve = require('rollup-plugin-node-resolve'); | 
					
						
							|  |  |  | const sourcemaps = require('rollup-plugin-sourcemaps'); | 
					
						
							| 
									
										
										
										
											2017-05-23 13:01:39 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | const globals = { | 
					
						
							|  |  |  |   '@angular/core': 'ng.core', | 
					
						
							|  |  |  |   '@angular/common': 'ng.common', | 
					
						
							|  |  |  |   '@angular/compiler': 'ng.compiler', | 
					
						
							|  |  |  |   '@angular/compiler/testing': 'ng.compiler.testing', | 
					
						
							|  |  |  |   '@angular/platform-browser': 'ng.platformBrowser', | 
					
						
							| 
									
										
										
										
											2017-10-30 11:51:03 -07:00
										 |  |  |   '@angular/platform-browser/animations': 'ng.platformBrowser.animations', | 
					
						
							| 
									
										
										
										
											2017-05-23 13:01:39 -07:00
										 |  |  |   '@angular/platform-server': 'ng.platformServer', | 
					
						
							|  |  |  |   '@angular/platform-browser-dynamic/testing': 'ng.platformBrowserDynamic.testing' | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-30 10:55:45 -07:00
										 |  |  | module.exports = { | 
					
						
							| 
									
										
										
										
											2018-03-15 14:13:13 -07:00
										 |  |  |   entry: '../../../dist/packages-dist/platform-server/fesm5/testing.js', | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  |   dest: '../../../dist/packages-dist/platform-server/bundles/platform-server-testing.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/platform-server/testing'}, | 
					
						
							| 
									
										
										
										
											2017-03-02 12:12:46 -08:00
										 |  |  |   moduleName: 'ng.platformServer.testing', | 
					
						
							| 
									
										
										
										
											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
										 |  |  | }; |