9c5bb5bfe9
The `target: serverless` config was deprecated a year ago starting in [Next.js 12](https://nextjs.org/blog/next-12). Tests were disabled in #41252 so we can now remove `target: serverless` and all usage of `target` in `next.config.js`. Co-authored-by: Balázs Orbán <info@balazsorban.com> Co-authored-by: JJ Kasper <jj@jjsweb.site>
465 B
465 B
Deprecated target config
Why This Error Occurred
Starting in Next.js 13, the target
property in next.config.js
has been removed.
Possible Ways to Fix It
For serverless targets, please use the Output File Tracing or deploy your application somewhere where it can be leveraged automatically, like Vercel.