From cafc5f040274ccb274f13d16910146415e8bd973 Mon Sep 17 00:00:00 2001 From: Hanric Date: Thu, 5 Dec 2024 11:52:29 +0800 Subject: [PATCH] chore(runtime): lint fix (#3319) --- packages/runtime/src/utils/load.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/runtime/src/utils/load.ts b/packages/runtime/src/utils/load.ts index 1a7498bcd7f..78e738e6eab 100644 --- a/packages/runtime/src/utils/load.ts +++ b/packages/runtime/src/utils/load.ts @@ -31,7 +31,9 @@ async function loadEsmEntry({ `import("${entry}").then(callbacks[0]).catch(callbacks[1])`, )([resolve, reject]); } else { - import(/* webpackIgnore: true */ /* @vite-ignore */ entry).then(resolve).catch(reject); + import(/* webpackIgnore: true */ /* @vite-ignore */ entry) + .then(resolve) + .catch(reject); } } else { resolve(remoteEntryExports);