Serve a module federation application.
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.
Target which builds the application.
Array<
oneOf [
string, object]
>
List of Producer (remote) applications to run in development mode (i.e. using serve target).
skipRemotesskipProducers
List of Producer (remote) applications to not automatically serve, either statically or in development mode. This will not remove the Producers (remotes) from the module-federation.config
file, and therefore the application may still try to fetch these Producers (remotes). This option is useful if you have other means for serving the Producer (remote) application(s). NOTE: Producers (remotes) that are not in the workspace will be skipped automatically.
string
Default: localhost
Public URL where the application will be served.
Max number of parallel processes for building static Producers (remotes).
Path to a Module Federation manifest file (e.g. my/path/to/module-federation.manifest.json
) containing the dynamic Producer (remote) applications relative to the workspace root.
SSL key to use for serving HTTPS
.
SSL certificate to use for serving HTTPS
.
Whether to use a static file server instead of the rspack-dev-server. This should be used for Producer (remote) applications that are also Consumer (host) applications.
staticRemotesPortstaticProducersPort
The port at which to serve the file-server for the static Producers (remotes).
isInitialHostisInitialConsumerInternal
Whether the Consumer (host) that is running this executor is the first in the project tree to do so.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4