diff --git a/packages/next/server/config-shared.ts b/packages/next/server/config-shared.ts index 9d576d624a8a06..d34267a7b35213 100644 --- a/packages/next/server/config-shared.ts +++ b/packages/next/server/config-shared.ts @@ -57,6 +57,7 @@ export interface WebpackConfigContext { isServer: boolean /** The build id, used as a unique identifier between builds */ buildId: string + /** The next.config.js merged with default values */ config: NextConfigComplete /** Default loaders used internally by Next.js */ defaultLoaders: {