I am in the process of creating a custom Angular library, let's name it libA, which has the capability to utilize another Angular library, named libB, for an optional feature. Essentially, if the Angular application does not include libB, then the feature within libA will remain disabled. However, if the Angular app does have libB integrated, then the feature in libA will become accessible.
To achieve this functionality, I need to implement checks within libA to verify the presence of libB. However, I am unsure how to effectively determine whether or not libB is installed in the application.
If anyone has insight on how I can confirm the existence of libB within the application from within libA, I would greatly appreciate your guidance!