You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: This warning is thrown because we cannot externalize the entry-point package for client-s3, so we patch the warning to not show it.
20
+
// We can remove this once Next.js implements https://github.com/vercel/next.js/discussions/76991
21
+
constturbopackWarningText=
22
+
'Packages that should be external need to be installed in the project directory, so they can be resolved from the output files.\nTry to install it into the project directory by running'
23
+
24
+
// TODO 4.0: Remove this once we drop support for Next.js 15.2.x
25
+
constturbopackConfigWarningText="Unrecognized key(s) in object: 'turbopack'"
26
+
27
+
constconsoleWarn=console.warn
28
+
console.warn=(...args)=>{
29
+
// Force to disable serverExternalPackages warnings: https://github.com/vercel/next.js/issues/68805
'Payload: You can safely ignore the "Invalid next.config" warning above. This only occurs on Next.js 15.2.x or lower. We recommend upgrading to Next.js 15.4.7 to resolve this warning.',
0 commit comments