In my angular application, there are bunch of modules.
I want to exclude few modules from angular build.
ex: I have a one repository in which i do have entire code with all the angular modules and it's working fine. some of modules are chat module, dashboard module, products module, devices module
- scenario 1: I want to give only chat module & product module to one client
- scenario 2: I want to give only dashboard module and chart module to another client.
How can i create a angular build so that it uses the repository but creating a build based on client module requirement and exclude the un-necessary modules from build ?
In case of lazy loading include routing modules based on condition(Not Tested)