Deploy Next.js on Vercel →
Starting in Next.js 13, the target property in next.config.js has been removed.
target
next.config.js
For serverless targets, please use the Output File Tracing or deploy your application somewhere where it can be leveraged automatically, like Vercel.
Was this helpful?