You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, there is currently no way to generate source maps when using this. It would be great if this would support source maps with an API similar to escodegen's.
The text was updated successfully, but these errors were encountered:
I don't think this is blocked by anything now. Given the current API to parseScriptWithLocation, the interface should presumably be a third, optional parameter (or another entry point) taking a [Weak]Map from nodes to locations.
Edit: Or possibly (Map, file name) pairs, given that source maps can map multiple input files to one output.
As far as I can tell, there is currently no way to generate source maps when using this. It would be great if this would support source maps with an API similar to escodegen's.
The text was updated successfully, but these errors were encountered: