Toby Rahilly
Toby Rahilly
Looks like the error stack is originating from `html-loader`, not `ngtemplate-loader`.
Thanks @peterpoe ! I took some inspiration from your code, but decided on a slightly different approach that is backwards compatible and supports different variable names: https://github.com/WearyMonkey/ngtemplate-loader/pull/88
Yes I see how that way is better. But I don't see why you are using apply-loader in the test? Doesn't your change make it un-necessary?
Got it thanks. Will do some testing this weekend.
Also could you add a test please.
Reproduced in TypeScript 4.8.4. Is there any progress on this?
I've raised a PR for this feature here: https://github.com/google/closure-compiler/pull/3751
Still relevant, we have mono repository with typescript project under a sub-directory. There's currently no way to set the typescript projects `src/` as a sources root.