@nx/webpack - Executors
The @nx/webpack plugin provides various executors to help you create and configure webpack projects within your Nx workspace. Below is a complete reference for all available executors and their options.
For an overview of the plugin and setup instructions, see the @nx/webpack introduction.
ssr-dev-server
Section titled “ssr-dev-server”Serve a SSR application using webpack.
Options
Section titled “Options”| Option | Type | Description | Default |
|---|---|---|---|
browserTarget | string [required] | Target which builds the browser application. | |
serverTarget | string [required] | Target which builds the server application. | |
browserTargetOptions | object | Additional options to pass into the browser build target. | {} |
port | number | The port the server application listens on. The executor waits for it to accept connections before reporting the server as ready. | 4200 |
serverTargetOptions | object | Additional options to pass into the server build target. | {} |