You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					23 lines
				
				343 B
			
		
		
			
		
	
	
					23 lines
				
				343 B
			| 
								 
											3 years ago
										 
									 | 
							
								import resolve from 'rollup-plugin-node-resolve'
							 | 
						||
| 
								 | 
							
								import commonjs from 'rollup-plugin-commonjs'
							 | 
						||
| 
								 | 
							
								import pkg from './package.json'
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export default {
							 | 
						||
| 
								 | 
							
									input: `index.js`,
							 | 
						||
| 
								 | 
							
									plugins: [
							 | 
						||
| 
								 | 
							
										commonjs(),
							 | 
						||
| 
								 | 
							
										resolve(),
							 | 
						||
| 
								 | 
							
									],
							 | 
						||
| 
								 | 
							
									output: [
							 | 
						||
| 
								 | 
							
										{
							 | 
						||
| 
								 | 
							
											file: pkg.main,
							 | 
						||
| 
								 | 
							
											format: `cjs`
							 | 
						||
| 
								 | 
							
										},
							 | 
						||
| 
								 | 
							
										{
							 | 
						||
| 
								 | 
							
											name: 'deepmerge',
							 | 
						||
| 
								 | 
							
											file: 'dist/umd.js',
							 | 
						||
| 
								 | 
							
											format: `umd`
							 | 
						||
| 
								 | 
							
										},
							 | 
						||
| 
								 | 
							
									],
							 | 
						||
| 
								 | 
							
								}
							 |