mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-02 20:44:13 +01:00 
			
		
		
		
	- Replace all default exports with named exports, except for Vue SFCs - Remove names from Vue SFCs, they are automatically inferred from the filename - Misc whitespace-related tweaks
		
			
				
	
	
		
			8 lines
		
	
	
		
			267 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			267 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
export 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);
 | 
						|
}
 |