Remove `require` replacement from loader.
For the offline compiler to work, we want to instead of having require('./path') instead have the template resolved through the loader chain, the output of the template will be the actually source.
- [ ] Use
this.resolve - [ ] Probably need promises Promise.all() to defer loader return until the full resolve of all referenced urls.
Hi @TheLarkInn,
I receive the following error when I try to debug my node js server-side rendered Angular 4 App:
"_createStackFrameFromSourceMap: source '/src/app/app.component.ts' doesn't exist -> use inlined source"
After a lot of debugging and reading blogs, articles, GitHub issues and source code I found out that I'm not able to debug the real TypeScript files because Visual Studio Code is checking if the generated Source Map contains the actual source file - check here. If I remove the angular2-template-loader I'm able to debug my files but I also need the loader.
Do you have any plans for fixing this issue?