From 2cf0cf0de1fc298f1b44a0452c8dbb2c2f9dd71c Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 23 Dec 2022 17:03:11 +0100 Subject: JS refactors (#22227) - 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 --- web_src/js/features/dropzone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web_src/js/features/dropzone.js') diff --git a/web_src/js/features/dropzone.js b/web_src/js/features/dropzone.js index 1c80fb778c..e7b8a9dde9 100644 --- a/web_src/js/features/dropzone.js +++ b/web_src/js/features/dropzone.js @@ -1,4 +1,4 @@ -export default async function createDropzone(el, opts) { +export async function createDropzone(el, opts) { const [{Dropzone}] = await Promise.all([ import(/* webpackChunkName: "dropzone" */'dropzone'), import(/* webpackChunkName: "dropzone" */'dropzone/dist/dropzone.css'), -- cgit v1.2.3