Skip to content

Commit 1b1f4fb

Browse files
README.md, host dynamic option
1 parent 2f0cf0a commit 1b1f4fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ We are using the following command line options.
169169
* `--e2eTestRunner=playwright`
170170
* `--unitTestRunner=jest`
171171

172+
The `--dynamic` option is required for the host generator in this project.
173+
This crucial flag instructs the generator to set up the host for dynamic Module Federation.
174+
This means the host won't have the remote applications' details hardcoded in its `module-federation.config.ts` or `webpack.config.ts` files;
175+
instead, it will rely on a runtime mechanism to discover them.
176+
172177
**NOTE:** The --remotes option is a comma-separated list of remote applications.
173178
When using the Angular host generator, the remote applications will always be Angular applications.
174179

0 commit comments

Comments
 (0)