Skip to content

Conversation

nyannyacha
Copy link
Contributor

What kind of change does this PR introduce?

Bug fix

Description

For non-entrypoint scripts, source maps is not loaded by default because it is stored separately in eszip.

This PR will make the source map automatically append to the end of the module code when it is loaded by the module loader if it exists in eszip. (However, due to the extra cost of copying a source buffer, it is only performed if the inspector is enabled)

@nyannyacha nyannyacha merged commit 9b95ff3 into supabase:main Jun 7, 2024
@nyannyacha nyannyacha deleted the fix-inspector-source-map branch June 7, 2024 04:16
Copy link

github-actions bot commented Jun 7, 2024

🎉 This PR is included in version 1.53.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants