I have 2 main questions:
- how to read or parse a js/ts source map file in NodeJs
- how to find the equivalent javascript compiled part of code, from typescript selected code
I'm building a typescript compiler and I'm using typescript API for that.
after compiling the code I want to let the user to select a part of ts code and then I want to highlight the compiled equivalent code in a WebView.
so how to find/locate that piece of code?
please tell me if you need more information. and sorry for poor English