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
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
When viewing a sourcemapped file, the editor shows a (From <file>) footer just below it that will take the users to the generated file. The problem is that this footer always goes to the first line of the generated file, which I don't think is particularly useful once your bundle grows.
The quickest thing would be to find the line/column of the first mapping in the original file. In a perfect world though, we'd use the current editor scroll position on the original file to pick a specific mapping to jump to in the generated file.
I'm not familiar with how we track the current position on files, but it may make sense to try to make some common logic for this kind of thing.
The text was updated successfully, but these errors were encountered:
When viewing a sourcemapped file, the editor shows a
(From <file>)
footer just below it that will take the users to the generated file. The problem is that this footer always goes to the first line of the generated file, which I don't think is particularly useful once your bundle grows.The quickest thing would be to find the line/column of the first mapping in the original file. In a perfect world though, we'd use the current editor scroll position on the original file to pick a specific mapping to jump to in the generated file.
I'm not familiar with how we track the current position on files, but it may make sense to try to make some common logic for this kind of thing.
The text was updated successfully, but these errors were encountered: