---
title: output
description: Next.js automatically traces which files are needed by each page to allow for easy deployment of your application. Learn how it works here.
url: "https://nextjs.org/docs/14/pages/api-reference/next-config-js/output"
version: 14.2.35
lastUpdated: 2023-06-28
prerequisites:
  - "API Reference: /docs/14/pages/api-reference"
  - "next.config.js Options: /docs/14/pages/api-reference/next-config-js"
---


---

For an index of all available documentation, see [/docs/14/llms.txt](/docs/14/llms.txt)