We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e065253 commit d23903fCopy full SHA for d23903f
packages/nextjs/src/config/types.ts
@@ -500,7 +500,7 @@ export type BuildContext = {
500
config: any;
501
webpack: {
502
version: string;
503
- DefinePlugin: WebpackPluginInstance;
+ DefinePlugin: new (values: Record<string, string | boolean>) => WebpackPluginInstance;
504
};
505
// eslint-disable-next-line @typescript-eslint/no-explicit-any
506
defaultLoaders: any; // needed for type tests (test:types)
0 commit comments