nx
nx copied to clipboard
React module federation support parallel serve
Currently when we run "nx serve --devRemotes=my-app" in react module federation application, it runs build for all the applications one by one in "remotes" of module-federation.config.js file, serve my-app as dev server and others as static file server. This takes a lot of time to build all the remotes applications, I think the time taken is more than "nx run-many --target=serve --all --parallel". For the benefit of running only one or several remotes, I think it's better to support parallel build/static-serve remotes applications.