diff --git a/internal/vite-config/src/utils/env.ts b/internal/vite-config/src/utils/env.ts index 648d87363..c84ea943a 100644 --- a/internal/vite-config/src/utils/env.ts +++ b/internal/vite-config/src/utils/env.ts @@ -22,7 +22,12 @@ function getConfFiles() { * @param match prefix * @param confFiles ext */ -export async function getEnvConfig(match = 'VITE_GLOB_', confFiles = getConfFiles()) { +export async function getEnvConfig( + match = 'VITE_GLOB_', + confFiles = getConfFiles(), +): Promise<{ + [key: string]: string; +}> { let envConfig = {}; for (const confFile of confFiles) {