Sourcemap - names array empty for all files
See original GitHub issueTypeScript Version: 1.8.34.0 Module System: AMD ECMAScript Version: ECMAScript 5 VS 2015 Update 3
All of my map files have the names array empty. I would expect that to have been populated. This has been an issue with VS2015 with all updates
Code
class HomeIndex {
someVar: number;
constructor() {
this.someVar = 0;
}
onLoad = () => {
};
dispose() {
};
}
export = HomeIndex;
Generated map
{
"version": 3,
"file": "Index.js",
"sourceRoot": "",
"sources": [ "Index.ts" ],
"names": [],
"mappings": ";;IAAA;QAII;YAIA,WAAM,GAAG;YACT,CAAC,CAAC;YAJE,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;QACrB,CAAC;QAKD,2BAAO,GAAP;QACA,CAAC;;QAEL,gBAAC;IAAD,CAAC,AAdD,IAcC;IAED,OAAS,SAAS,CAAC"
}
Expected behavior: names array should contain values for members and variables Actual behavior: names array empty
Issue Analytics
- State:
- Created 7 years ago
- Reactions:47
- Comments:24 (2 by maintainers)
Top Results From Across the Web
Closure compiler source map = empty (Chrome) or wrong ...
The solution to this is to set up proper sourceMapLocationMappings . Using the closure-compiler cli, you do that with --source_map_location_ ...
Read more >Source Maps - Parcel
Generates an empty map from the provided fileName and sourceContent. Params: sourceName : path of the source file; sourceContent : content of the...
Read more >How do source maps work? - Matt Zeunert
“IAAM” represents the array [4,0,0,6] . The column indices are relative to the column from the previous segment, but because we started at ......
Read more >JavaScript Obfuscator Tool
Also, be sure to read about all the options to understand all the trade-offs between code ... Source Map File Name. Strings Transformations....
Read more >Compiler Options - ClojureScript
Inferred type mismatches will result in the :invalid-array-access warning ... A module needs a name, an individual :output-to file path, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is extremely frustrating. Sometimes it makes it almost impossible to debug the code. I’m surprised this issue is not prioritized.
Is this issue still being actively looked at?