Giuseppe Piscopo
Giuseppe Piscopo
Hi everyone, it seems to me I'm getting into the same issue. Put my hands back on a project that I left for a couple of weeks, and now got...
No. All *templateUrls* instances show up untouched in generated main-bundle.js. I have a couple of components with *template*, they of course are left with their string content. Then some components...
Oh well ... more findings: production AOT build goes fine and show no errors in console. Its (multiple) chunks generated out of custom code show all my *templateUrl* ~turned into...
I temporarily added logs to [node_modules\angular2-template-loader\index.js](https://github.com/TheLarkInn/angular2-template-loader/blob/v0.6.2/index.js#L39), and replacement between original source and newSource **does work**: * Original: `templateUrl: './not-found.component.html',` * Replaced: `template: require('./not-found.component.html'),` But indeed when I look at whole...
Thanks for suggestion @nikolasleblanc . Project is using current latest versions: +-- [email protected] +-- [email protected] +-- [email protected] I missed that change in awesome-typescript-loader settings, hence this project still kept `"useWebpackText":...
One step more: temporarily added console logs to *node_modules\awesome-typescript-loader\dist\index.js* ([original TS here](https://github.com/s-panferov/awesome-typescript-loader/blob/v3.1.2/src/index.ts)), dumping `text` and `resultText` within `transform` function. Result seems quite strange to me: Input text (excerpt): ```ts //...
@nikolasleblanc still interested in some kind of repro?
No need for excuse. Sure, I'll send you something by email.
Hi there. At that time, I found some alternative workarounds: 1. Move project to another path. Yes, definitely absurd, but I had the issue come and go when changing path....
Sorry, item 3: what I described is *not* the same switch as you described