In the following legitimate code snippet:
@Component({
selector: "my-app",
templateUrl: './app.component.html'
//styleUrls: ["app.component.css"]
})
or this:
@Component({
selector: "my-app",
templateUrl: './app.component.html' //Very important comment
})
the regular expression templateUrlRegex in index.js fails to capture, leaving the URL in the file to be treated as a separate html.