2023-07-05 15:11:16 +02:00
---
title: Deprecated target config
---
2021-10-24 17:38:24 +02:00
2023-07-05 15:11:16 +02:00
## Why This Error Occurred
2021-10-24 17:38:24 +02:00
2022-10-18 18:47:13 +02:00
Starting in Next.js 13, the `target` property in `next.config.js` has been removed.
2021-10-24 17:38:24 +02:00
2023-07-05 15:11:16 +02:00
## Possible Ways to Fix It
2021-10-24 17:38:24 +02:00
2022-10-18 18:47:13 +02:00
For serverless targets, please use the Output File Tracing or deploy your application somewhere where it can be leveraged automatically, like [Vercel](https://vercel.com).
2021-10-24 17:38:24 +02:00
2023-07-05 15:11:16 +02:00
## Useful Links
2021-10-24 17:38:24 +02:00
2023-07-05 15:11:16 +02:00
- [Output File Tracing Documentation](/docs/pages/api-reference/next-config-js/output)