diff --git a/packages/next/src/server/config.ts b/packages/next/src/server/config.ts index adac9b6dc1fd3..04bf11ffe6e2a 100644 --- a/packages/next/src/server/config.ts +++ b/packages/next/src/server/config.ts @@ -723,7 +723,7 @@ export default async function loadConfig( } : Log - await loadEnvConfig(dir, phase === PHASE_DEVELOPMENT_SERVER, curLog) + loadEnvConfig(dir, phase === PHASE_DEVELOPMENT_SERVER, curLog) loadWebpackHook({ // For render workers, there's no need to init webpack eagerly