How to build and publish an Angular module
Cyrille Tuzi
11120

Hey! This is very nice, thank you for the detailed post.

I have a couple of questions though:

  1. If I include a template.html for a component, and reference it with templateUrl: './xxx' ngCompiler checks if the file is there (if not, compilation fails) but it is never copied to dist folder. How should we approach this?
  2. If I wanted to publish a single UI component (without ngModule), ngCompiler complains that there is no ngModule, can we work around this? Haven't found anything on it. Using tsc leaves us without the angular functionalities and validations and question 1 would still be an issue.
Show your support

Clapping shows how much you appreciated Juan Porley’s story.