Skip to content

fix(source-maps): Use alternate source map bias only if the default returns null and the alternate does not. Remove as user option to reduce config confusion. #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

chmeyer-ms
Copy link
Contributor

In an effort to reduce config options (and confusion), this removes the sourceMapBias param from the launch config. The default source map bias is 'leastUpperBound', which works with our published ts config in TS Starter. This config is also used in the source-map unit tests. If leastUpperBound fails, it will try greatestLowerBound but will not switch to that as the preferred bias unless it succeeds.

@chmeyer-ms chmeyer-ms self-assigned this Feb 18, 2025
Copy link

@frgarc frgarc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great improvement for user experience. Thank you.

…eturns null and the alternate does not. Remove as user option to reduce config confusion.
@chmeyer-ms chmeyer-ms merged commit 01f4937 into main Feb 18, 2025
2 checks passed
@chmeyer-ms chmeyer-ms deleted the chmeyer/bias branch February 18, 2025 20:28
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.

2 participants