Open adamlubek opened 7 years ago
It seems to me like you didn't execute the integration tests. You should include those in your build pipeline and only publish the library once they pass. Running those on your example yields the same message you encountered.
Integration tests in my company are maintained by separate team and are run against application that uses library instead of library level. I'd like to have library build though, which fails for non AOT compliant code (without developers maintaining integration tests).
this code in module.ts, once imported into Angular CLI based app works fine:
but this one:
breaks on ng start with:
My understanding is that second snippet, using "export const libProvider = () => LibService;", is not AOT compliant. However, both snippets build fine with angular-quickstart-lib. Questions is, can build of angular-quickstart-lib be setup in a way to break for code that is not AOT compliant?