Hello people of the internet,
I'm writing typescript-code and compiling it to javascript. I activated the --inlineSourceMap
and --inlineSources
flags. The into the javascript files embedded base64-strings looks decoded like this:
{
"version":3,
"file":"portal.service.js",
"sourceRoot":"",
"sources":[
"portal.service.ts"
],
"names":[
],
"mappings":";;;;;;;;;;AAAA,sCA ... ,0DAAuB",
"sourcesContent":[
"import {Injectable} from '@angular/core'; ..."
]
}
Problem The sources-tab in Chrome devtools points to portal.service.ts, which does NOT exist on the server, instead of using the inlined sources content.
Any ideas where/what the problem is?