Production build (shell app) does not build remotes apps via host app build #26944
Closed
1 of 4 tasks
Labels
outdated
scope: angular
Issues related to Angular support in Nx
scope: module federation
Issues related to module federation support
type: bug
Current Behavior
I have migrated nx 18 -> 19 and I noticed that remotes apps are not built up. My project is created by module federation config. Previously it was enough to run nx run shellapp:build to build the shell project and remote apps at once time. Now I have to run remote:build separately for each remote. I've tried it by create new empty workspace project and setup MF from scratch as it's described in documentation. It also fails. Is it bug or a feature ?
Expected Behavior
Build remote apps together with shell app
GitHub Repo
No response
Steps to Reproduce
nx g @nx/angular:host shell --directory=apps/angular/with-remotes/shell --remotes=remote1,remote2
https://nx.dev/recipes/module-federation/create-a-hostI've also added
"implicitDependencies": ["remote1", "remote2"],
it ends up succeeded but remotes apps are still not built up as in nx18Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: