I am creating libraries inside a parent library as such:
-projects ->main-library ->(lib-1, lib-2)
I wish to use lib-1 inside lib-2 and then build the main-library which will in-turn contain lib-1 and lib-2.
In the lib-2.module.ts I imported the lib-1 module and tried building main-library. The error: rootDir is expected to contain all source files.
How should I proceed?