Isaac Mann 1c94df17c7
docs(nxdev): fix link to docs from executors (#4908)
ISSUES CLOSED: #4862

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2021-02-26 09:43:58 -05:00

858 B

server

Serve a Next.js app

Properties can be configured in workspace.json when defining the executor, or when invoking it. Read more about how to use executors and the CLI here: https://nx.dev/react/getting-started/cli-overview#running-tasks.

Properties

buildTarget

Type: string

Target which builds the application

customServerPath

Type: string

Use a custom server script

dev

Default: true

Type: boolean

Serve the application in the dev mode

hostname

Type: string

Hostname on which the application is served.

port

Default: 4200

Type: number

Port to listen on.

proxyConfig

Type: string

Path to the proxy configuration file.

quiet

Default: false

Type: boolean

Hide error messages containing server information.

staticMarkup

Default: false

Type: boolean

Static markup.