Unverified Commit 01cd69fb authored by PØL1's avatar PØL1 Committed by GitHub

Update deprecation for webpack5 config (#33560)

* Removed the s

Removed the s of
"This option was moved to the top level"
was before: "this options was moved to the top level"

* Update packages/next/server/config-shared.ts
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>

* Suggestion of @ijjk

* lint-fix
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent 2b1ca9b0
...@@ -60,6 +60,9 @@ export type NextConfig = { [key: string]: any } & { ...@@ -60,6 +60,9 @@ export type NextConfig = { [key: string]: any } & {
> >
redirects?: () => Promise<Redirect[]> redirects?: () => Promise<Redirect[]>
/**
* @deprecated This option has been removed as webpack 5 is now default
*/
webpack5?: false webpack5?: false
excludeDefaultMomentLocales?: boolean excludeDefaultMomentLocales?: boolean
...@@ -116,7 +119,7 @@ export type NextConfig = { [key: string]: any } & { ...@@ -116,7 +119,7 @@ export type NextConfig = { [key: string]: any } & {
httpAgentOptions?: { keepAlive?: boolean } httpAgentOptions?: { keepAlive?: boolean }
future?: { future?: {
/** /**
* @deprecated this options was moved to the top level * @deprecated This option has been removed as webpack 5 is now default
*/ */
webpack5?: false webpack5?: false
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment