From 53ca484ca68b5a8214978f293e1eb8afd1134a5a Mon Sep 17 00:00:00 2001 From: Eugene Date: Mon, 6 Jan 2025 12:13:58 +0100 Subject: [PATCH] Update webpack.config.mjs --- webpack.config.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webpack.config.mjs b/webpack.config.mjs index 2088d2b8..14b12f80 100644 --- a/webpack.config.mjs +++ b/webpack.config.mjs @@ -11,5 +11,4 @@ const paths = [ paths.forEach(x => log.info(`Using config: ${x}`)) -const config = await Promise.all(paths.map(x => import(x).then(x => x.default()))) -export default () => config +export default () => Promise.all(paths.map(x => import(x).then(x => x.default())))