title: ng-packagr Angular 11 Error: Type AppModule does not have 'ɵmod' property
body: <p>I've just upgrade my solution to Angular 11 and Webpack 5. There are some packages that I build as part of the solution. When it tries to load one of the packages that I've built using ng-packagr I get the following:</p>
  <p>Error: Type AppModule does not have 'ɵmod' property.</p>
  <p>This error is coming from the Angular Core module. I have tried this with both ivy enabled and disabled.</p>
  <p>Any ideas would be appreciated as this is driving me mad and I can't find much on this error.</p>