koliveira15 / nx-sonarqube

A Nx plugin that scans projects using SonarQube / SonarCloud.
MIT License
51 stars 21 forks source link

Libs not included in "Included sources" when lazy loaded by angular route #41

Closed arturgawlik closed 1 year ago

arturgawlik commented 1 year ago

I have an issue with scanning my nx project. Project has following structure: image

nx-sonarqube library console logs "Included sources" and in this log there are listed libraries "apps/app1, libs/details-1, libs/details-2" but there is no "libs/list-1" and "libs/list-2". "libs/list-1" and "libs/list-2" are lazy loaded by angular router. When I move this lazy loading lists to eager nx-sonarqube properrly logs "libs/list-1" and "libs/list-2" in "Included sources".