@nrwl/angular:module-federation-dev-ssr

SSR Dev Server target options for Module Federation host applications.

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
Pattern: .+:.+(:.+)?

Browser target to build.

serverTarget

Required
string
Pattern: .+:.+(:.+)?

Server target to build.

devRemotes

Array<string>

List of remote applications to run in development mode (i.e. using serve target).

host

string
Default: localhost

Host to listen on.

inspect

boolean
Default: false

Launch the development server in inspector mode and listen on address and port '127.0.0.1:9229'.

open

o
boolean
Default: false

Opens the url in default browser.

port

number
Default: 4200

Port to start the development server at. Default is 4200. Pass 0 to get a dynamically assigned port.

publicHost

string

The URL that the browser client should use to connect to the development server. Use for a complex dev server setup, such as one with reverse proxies.

progress

boolean

Log progress to the console while building.

proxyConfig

string

Proxy configuration file.

pathToManifestFile

string

Path to a Module Federation manifest file (e.g. my/path/to/module-federation.manifest.json) containing the dynamic remote applications relative to the workspace root.

ssl

boolean
Default: false

Serve using HTTPS.

sslKey

string

SSL key to use for serving HTTPS.

sslCert

string

SSL certificate to use for serving HTTPS.

skipRemotes

Array<string>

List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.

verbose

boolean

Adds more details to output logging.