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

Json modules coming to Supabase edge runtime #74

Merged
merged 1 commit into from
Apr 29, 2023
Merged

Conversation

andreespirela
Copy link
Collaborator

What kind of change does this PR introduce?

This PR fixes #30, enabling json modules to be imported.

@andreespirela andreespirela requested a review from laktek April 29, 2023 18:16
| MediaType::Unknown
| MediaType::Cjs
| MediaType::Mjs
| MediaType::Json => code.into(),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This should also remove the need to always emit_parsed_source. But abstract it from doing so in files that aren't meant to be processed/emitted

@laktek laktek merged commit bc766c4 into main Apr 29, 2023
@github-actions
Copy link

github-actions bot commented May 1, 2023

🎉 This PR is included in version 1.2.17 🎉

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.

Cannot import JSON dependencies
2 participants