| 
									
										
										
										
											2019-02-05 21:20:05 +00:00
										 |  |  | // #docregion
 | 
					
						
							|  |  |  | import nodeResolve from 'rollup-plugin-node-resolve' | 
					
						
							|  |  |  | import commonjs from 'rollup-plugin-commonjs'; | 
					
						
							| 
									
										
										
										
											2020-05-08 15:47:00 +02:00
										 |  |  | import {terser} from 'rollup-plugin-terser' | 
					
						
							| 
									
										
										
										
											2019-02-05 21:20:05 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | //paths are relative to the execution path
 | 
					
						
							|  |  |  | export default { | 
					
						
							| 
									
										
										
										
											2020-04-06 22:57:58 +03:00
										 |  |  |   input: 'app/main-aot.js', | 
					
						
							| 
									
										
										
										
											2019-03-14 00:58:43 -07:00
										 |  |  |   output: { | 
					
						
							|  |  |  |     file: 'aot/dist/build.js', // output a single application bundle
 | 
					
						
							|  |  |  |     format: 'iife', | 
					
						
							|  |  |  |     sourcemap: true, | 
					
						
							|  |  |  |     sourcemapFile: 'aot/dist/build.js.map' | 
					
						
							|  |  |  |   }, | 
					
						
							| 
									
										
										
										
											2019-02-05 21:20:05 +00:00
										 |  |  |   plugins: [ | 
					
						
							| 
									
										
										
										
											2020-04-06 22:57:58 +03:00
										 |  |  |     nodeResolve({jsnext: true, module: true}), | 
					
						
							| 
									
										
										
										
											2019-02-05 21:20:05 +00:00
										 |  |  |     commonjs({ | 
					
						
							|  |  |  |       include: ['node_modules/rxjs/**'] | 
					
						
							|  |  |  |     }), | 
					
						
							| 
									
										
										
										
											2020-05-08 15:47:00 +02:00
										 |  |  |     terser() | 
					
						
							| 
									
										
										
										
											2019-02-05 21:20:05 +00:00
										 |  |  |   ] | 
					
						
							|  |  |  | } |