✳flâneur — a map of the web's best reading
next.config.js: Introduction | Next.js
nextjs.org · 1,372 words · saved by 1 readers
learn more about the configuration file used by Next.js to handle your application.
This page is also available as Markdown at /docs/app/api-reference/config/next-config-js.md . For an index of Next.js documentation , see /docs/llms.txt . Copy page next.config.js Last updated November 4, 2025 Next.js can be configured through a next.config.js file in the root of your project directory (for example, by package.json ) with a default export. next.config.js // @ts-check /** @type {import('next').NextConfig} */ const nextConfig = { /* config options here */ } module . exports = nextConfig ECMAScript Modules next.config.js is a regular Node.js module, not a JSON file. It gets used
Explore this link on the map →related reading
- Cursor Docs — Agent, Rules, MCP, Skills & CLIdocs.cursor.com
- API Reference: Edge Runtime | Next.jsnextjs.org
- Building a single-page application with Next.js and React Routercolinhacks.com
- Getting Started: Caching | Next.jsnextjs.org
- Getting Started: Layouts and Pages | Next.jsnextjs.org
- projects, claire wangclairebookworm.com
- GitHub - emanuelefavero/next-js: A Next.js cheat sheet repository · GitHubgithub.com
- LessWronglesswrong.com
- The Content Operating System for the AI era | Sanitysanity.io
- Guides: Forms | Next.jsnextjs.org
- Pages Router | Next.jsnextjs.org
- Cursor Docs — Agent, Rules, MCP, Skills & CLIdocs.cursor.com