Skip to content

Conversation

@coolreader18
Copy link
Contributor

@coolreader18 coolreader18 commented Dec 5, 2025

rolldown's sourcemap implementation outputs inline source maps that start with data:application/json;charset=utf-8;base64,, which would currently fail with the implementation of decode_data_url. Obviously, this seems like a slippery slope to implementing the entirety of the mime type spec, but hopefully this is about the extent of the variance in most common sourcemap generators.

Github code search for data:application/json;charset=utf-8

Github code search for data:application/json;charset=utf8

Copy link
Contributor

@loewenheim loewenheim left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@loewenheim loewenheim merged commit 3bac35b into getsentry:master Dec 6, 2025
8 checks passed
@coolreader18 coolreader18 deleted the dataurl-charset branch December 8, 2025 18:19
@coolreader18
Copy link
Contributor Author

Would it be possible to cut a release with this patch in it?

@loewenheim
Copy link
Contributor

Sure!

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