mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 01:04:25 +01:00 
			
		
		
		
	- Update monaco, adapting to breaking changes - Update dropzone, adapting to breaking changes - Update linters, fix new issues, disable opinionated stylelint rules - Rebuild SVGs and images - Tested Dropzone and Monaco Replaces: https://github.com/go-gitea/gitea/pull/17574
		
			
				
	
	
		
			8 lines
		
	
	
		
			275 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			275 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| export default async function createDropzone(el, opts) {
 | |
|   const [{Dropzone}] = await Promise.all([
 | |
|     import(/* webpackChunkName: "dropzone" */'dropzone'),
 | |
|     import(/* webpackChunkName: "dropzone" */'dropzone/dist/dropzone.css'),
 | |
|   ]);
 | |
|   return new Dropzone(el, opts);
 | |
| }
 |