@nrwl/angular:setup-mf
Create Module Federation configuration files for given Angular Application.
Examples
The setup-mf
generator is used to add Module Federation support to existing applications.
To convert an existing application to a host application, run the following
nx g setup-mf myapp --mfType=host --routing=true
Usage
nx generate setup-mf ...
By default, Nx will search for setup-mf
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:setup-mf ...
Show what will be generated without writing to disk:
nx g setup-mf ... --dry-run