Skip to content
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

Truncate mappings to the last line with a valid segment #118

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

jridgewell
Copy link
Collaborator

Re: #116, which has an sourcemap without any segments. There's no point in keeping trailing lines
without any segments, and truncating better matches the output from source-map.

Re: #116, which has an sourcemap without any segments. There's no point in keeping trailing lines
without any segments, and truncating better matches the output from `source-map`.
@jridgewell jridgewell merged commit 68efdaf into master Mar 17, 2021
@jridgewell jridgewell deleted the truncate-mappings branch March 17, 2021 07:49
jridgewell added a commit to jridgewell/sourcemaps that referenced this pull request Dec 2, 2024
…mappings

Truncate mappings to the last line with a valid segment
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.

1 participant