---
title: Configuration
description: Learn how to configure your Next.js application.
url: "https://nextjs.org/docs/pages/api-reference/config"
version: 16.2.2
lastUpdated: 2026-04-02
router: Pages Router
prerequisites:
  - "API Reference: /docs/pages/api-reference"
---



- [next.config.js Options](/docs/pages/api-reference/config/next-config-js)
  - Learn about the options available in next.config.js for the Pages Router.
- [TypeScript](/docs/pages/api-reference/config/typescript)
  - Next.js provides a TypeScript-first development experience for building your React application.
- [ESLint](/docs/pages/api-reference/config/eslint)
  - Next.js reports ESLint errors and warnings during builds by default. Learn how to opt-out of this behavior here.

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

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