diff --git a/packages/next/bundles/webpack/packages/webpack.d.ts b/packages/next/bundles/webpack/packages/webpack.d.ts index e2a4f8f9d7963ac..414c145be49046d 100644 --- a/packages/next/bundles/webpack/packages/webpack.d.ts +++ b/packages/next/bundles/webpack/packages/webpack.d.ts @@ -2,3 +2,9 @@ export namespace webpack { export type Compiler = any export type Plugin = any } + +export namespace webpack5 { + export type Compiler = any + export type Plugin = any + export type Configuration = any +} diff --git a/packages/next/compiled/webpack/webpack.d.ts b/packages/next/compiled/webpack/webpack.d.ts index e2a4f8f9d7963ac..414c145be49046d 100644 --- a/packages/next/compiled/webpack/webpack.d.ts +++ b/packages/next/compiled/webpack/webpack.d.ts @@ -2,3 +2,9 @@ export namespace webpack { export type Compiler = any export type Plugin = any } + +export namespace webpack5 { + export type Compiler = any + export type Plugin = any + export type Configuration = any +}