Making your Angular 2 library statically analyzable for AoT
Isaac Mann

I’m struggling with the error you listed in #8 when I try to include a module in this project into a project compiled with the CLI. I am able to include that module into my CLI project if I compile it with ngc and bundle with rollup first. Is it the metadata.json files that I need in order to include this module directly. How do you recommend generating those files? Should I just expect that I need to compile and bundle my component library if I want to use it in a CLI project? I don’t like that approach as much because it means also taking care of inlining styleUrls.

Show your support

Clapping shows how much you appreciated Sandi Barr’s story.