We have a big angular application containing 1000 modules. While deploying application we have to deploy the whole app from dist this approach is not good for any large application.
Is there any way to build a specified module from application and deploy it separately. Like we have CM and PM separate two modules now I want to build CM and deploy it's generated stuff on the server.
we use bazel to build separate module but deployment is very hard with @bazel.
Asked
Active
Viewed 451 times
3
-
I have the same question, I still haven’t found solution. – LiHao Mar 25 '20 at 01:11
-
I found **single-spa** can do this! but I not sure it's stable. – LiHao Mar 29 '20 at 06:32
1 Answers
1
I was looking for the same solution and was heard about micro frontend where we can deploy each module independently. I found this medium article.
And you can check this Nx freamwork as well. https://nx.dev/getting-started/angular-standalone-tutorial.
Hope this helps :) And if you already got something better than this, please let me know as well :)

Aarti Kanungo
- 11
- 3