fix(utils): update medusa config resolution for consistency (#9591)

This commit is contained in:
Adrien de Peretti
2024-10-15 11:52:06 -03:00
committed by GitHub
parent 537567b679
commit e9383f25e0
9 changed files with 40 additions and 25 deletions
@@ -5,7 +5,7 @@ export async function configLoaderOverride(
override: { clientUrl: string; debug?: boolean }
) {
const { configManager } = await import("@medusajs/framework/config")
const { configModule, error } = getConfigFile<
const { configModule, error } = await getConfigFile<
ReturnType<typeof configManager.loadConfig>
>(entryDirectory, "medusa-config")