I am trying to convert an Angular 6 application in a reusable library; here is what I did:
- created a new Angular workspace
- created a new Angular library project inside that workspace
- copied the artifacts from the old application inside the library and adjusted the import statements
When I try to compile the project with "ng build --project=.." I get a lot of these errors: "Property X is private and only accessible within class Y"
I understand the errors and I will correct them but my question is: If I try to build the old application with aot I don't get this error..why?
Thank you!