| 
									
										
										
										
											2017-11-15 18:22:23 +01:00
										 |  |  | import nodeResolve from 'rollup-plugin-node-resolve'; | 
					
						
							|  |  |  | import commonjs from 'rollup-plugin-commonjs'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // a real app should make a common bundle for libraries instead of bundling them
 | 
					
						
							|  |  |  | // in both the main module & the lazy module, but we don't care about size here
 | 
					
						
							|  |  |  | export default { | 
					
						
							| 
									
										
										
										
											2019-01-17 12:40:11 -08:00
										 |  |  |   input: 'dist/src/lazy.module.js', | 
					
						
							|  |  |  |   output: { | 
					
						
							|  |  |  |     sourceMap: true, | 
					
						
							|  |  |  |   }, | 
					
						
							| 
									
										
										
										
											2017-11-15 18:22:23 +01:00
										 |  |  |   treeshake: true, | 
					
						
							|  |  |  |   plugins: [ | 
					
						
							| 
									
										
										
										
											2018-02-27 17:06:06 -05:00
										 |  |  |     nodeResolve() | 
					
						
							| 
									
										
										
										
											2017-11-15 18:22:23 +01:00
										 |  |  |   ] | 
					
						
							|  |  |  | }; |