-
Read topic. I need this to get proper stacktrace debug info in starlight, JS engine :) |
Beta Was this translation helpful? Give feedback.
Answered by
kdy1
Jul 27, 2021
Replies: 1 comment 1 reply
-
See https://docs.rs/swc_common/0.11.1/swc_common/source_map/struct.SourceMap.html
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
playXE
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://docs.rs/swc_common/0.11.1/swc_common/source_map/struct.SourceMap.html
lookup_char_pos
can be used to do it.