Deprecated

Use static exports in next.config.js instead. See: https://nextjs.org/docs/pages/building-your-application/deploying/static-exports.

@nx/next:export

Export a Next.js application. The exported application is located at dist/$outputPath/exported.

Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/reference/project-configuration#targets.

Options

buildTarget

string

Target which builds the application

buildLibsFromSource

boolean
Default: true

Read buildable libraries from source instead of building them separately.

silent

boolean
Default: false

Hide progress or not (default is false)

threads

number

Number of worker threads to utilize (defaults to the number of CPUs)