We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c8385e commit b332257Copy full SHA for b332257
packages/nextjs/src/config/types.ts
@@ -97,7 +97,7 @@ export type BuildContext = {
97
config: any;
98
webpack: { version: string };
99
// eslint-disable-next-line @typescript-eslint/no-explicit-any
100
- defaultLoaders: { babel: any };
+ defaultLoaders: any;
101
totalPages: number;
102
nextRuntime?: 'nodejs' | 'edge';
103
};
packages/nextjs/test/config/fixtures.ts
@@ -93,6 +93,8 @@ export function getBuildContext(
93
...materializedNextConfig,
94
} as NextConfigObject,
95
webpack: { version: webpackVersion },
96
+ defaultLoaders: true,
+ totalPages: 2,
isServer: buildTarget === 'server',
}
0 commit comments