2021年4月27日星期二

How to exclude the modules from angular build?

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

  1. scenario 1: I want to give only chat module & product module to one client
  2. 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 ?

https://stackoverflow.com/questions/67294019/how-to-exclude-the-modules-from-angular-build April 28, 2021 at 01:01PM

没有评论:

发表评论