@nx/webpack:ssr-dev-server

Serve a SSR application using webpack.

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

browserTarget

Required
string

Target which builds the browser application.

serverTarget

Required
string

Target which builds the server application.

port

number
Default: 4200

The port to be set on process.env.PORT for use in the server.

browserTargetOptions

object: object
Default: {}

Additional options to pass into the browser build target.

serverTargetOptions

object: object
Default: {}

Additional options to pass into the server build target.