Eugene 1 год назад
Родитель
Сommit
53ca484ca6
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      webpack.config.mjs

+ 1 - 2
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())))