We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here, I have a Nx workspace with two apps sharing a repo-internal lib via Module Federation:
https://github.com/manfredsteyer/nx-rspack-mf-demo/tree/shared-lib-helper/shell/src/app (Branch: shared-lib-helper)
It works nicely so far; however, if this shared lib is only used on the remote and not on the host, we get an error when loading the remote.
To try it out, just remove all references to the AuthService from the shared lib (remove line 3, 13, 16):
AuthService
https://github.com/manfredsteyer/nx-rspack-mf-demo/blob/shared-lib-helper/shell/src/app/app.component.ts
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here, I have a Nx workspace with two apps sharing a repo-internal lib via Module Federation:
https://github.com/manfredsteyer/nx-rspack-mf-demo/tree/shared-lib-helper/shell/src/app
(Branch: shared-lib-helper)
It works nicely so far; however, if this shared lib is only used on the remote and not on the host, we get an error when loading the remote.
To try it out, just remove all references to the
AuthService
from the shared lib (remove line 3, 13, 16):https://github.com/manfredsteyer/nx-rspack-mf-demo/blob/shared-lib-helper/shell/src/app/app.component.ts
The text was updated successfully, but these errors were encountered: