We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d9eae8 commit 520fe14Copy full SHA for 520fe14
1 file changed
vue3-app/src/preprocessor/loader.js
@@ -1,4 +1,4 @@
1
-const load_module = async function load_module(path) {
+async function load_module(path) {
2
try {
3
return await import(path);
4
} catch (e) {
@@ -11,7 +11,7 @@ const load_module = async function load_module(path) {
11
}
12
};
13
14
-const register_preprocessor = async function register_preprocessor(module_path, function_name, preprocessor_id) {
+async function register_preprocessor(module_path, function_name, preprocessor_id) {
15
let module;
16
17
module = await load_module(module_path);
0 commit comments