Skip to content

fix: prefer to parse source map directly before failling back to path mapping#1258

Merged
connor4312 merged 1 commit intomainfrom
fix-148864
May 6, 2022
Merged

fix: prefer to parse source map directly before failling back to path mapping#1258
connor4312 merged 1 commit intomainfrom
fix-148864

Conversation

@connor4312
Copy link
Copy Markdown
Member

Fixes microsoft/vscode#148864. See my comment on the bottom of an explaination of what changed.

@connor4312 connor4312 added this to the May 2022 milestone May 6, 2022
@connor4312 connor4312 requested a review from roblourens May 6, 2022 20:52
@connor4312 connor4312 self-assigned this May 6, 2022
@connor4312 connor4312 merged commit 0d435a1 into main May 6, 2022
@connor4312 connor4312 deleted the fix-148864 branch May 6, 2022 21:50
@timvahlbrock
Copy link
Copy Markdown
Contributor

Just wanting to comment, that the reason for the original implementation was, that loading source maps from file has better performance than loading over network (which is mostly relevant for large source maps from remote locations only). To take advantage of this with the changes introduced in this PR, the source map just shouldn't be served, which is doable in most cases, I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unbound breakpoint for TypeScript files

3 participants