Skip to content

Docs: Switch to a recommendation of an ESM Next Config file #61720

@FleetAdmiralJakob

Description

@FleetAdmiralJakob

What is the improvement or update you wish to see?

I would love to see Next.js no longer recommend a CJS Config file

Is there any context that might help us understand?

Many projects like serwist: serwist/serwist#66 require an ESM config file or are already set up with a CJS Config file like T3: https://github.com/t3-oss/create-t3-app.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/api-reference/next-config-js

DX-2354

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions