Skip to content

Commit 520fe14

Browse files
committed
fixup! feat(PreProcessor): add a client preprocessing dispatcher widget
1 parent 6d9eae8 commit 520fe14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vue3-app/src/preprocessor/loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const load_module = async function load_module(path) {
1+
async function load_module(path) {
22
try {
33
return await import(path);
44
} catch (e) {
@@ -11,7 +11,7 @@ const load_module = async function load_module(path) {
1111
}
1212
};
1313

14-
const register_preprocessor = async function register_preprocessor(module_path, function_name, preprocessor_id) {
14+
async function register_preprocessor(module_path, function_name, preprocessor_id) {
1515
let module;
1616
try {
1717
module = await load_module(module_path);

0 commit comments

Comments
 (0)