mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	remove submodules
This commit is contained in:
		
							
								
								
									
										36
									
								
								packages/splitjs/rollup.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								packages/splitjs/rollup.config.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,36 @@ | ||||
| import buble from 'rollup-plugin-buble' | ||||
| import { uglify } from 'rollup-plugin-uglify' | ||||
|  | ||||
| const pkg = require('./package.json') | ||||
|  | ||||
| const output = { | ||||
|     format: 'umd', | ||||
|     file: pkg.main, | ||||
|     name: 'Split', | ||||
|     sourcemap: false, | ||||
|     banner: `/*! Split.js - v${pkg.version} */\n`, | ||||
| } | ||||
|  | ||||
| export default [ | ||||
|     { | ||||
|         input: 'src/split.js', | ||||
|         output, | ||||
|         plugins: [buble()], | ||||
|     }, | ||||
|     { | ||||
|         input: 'src/split.js', | ||||
|         output: { | ||||
|             ...output, | ||||
|             sourcemap: true, | ||||
|             file: pkg['minified:main'], | ||||
|         }, | ||||
|         plugins: [ | ||||
|             buble(), | ||||
|             uglify({ | ||||
|                 output: { | ||||
|                     comments: /^!/, | ||||
|                 }, | ||||
|             }), | ||||
|         ], | ||||
|     }, | ||||
| ] | ||||
		Reference in New Issue
	
	Block a user