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

feat: ESM compatibility #587

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

turadg
Copy link
Contributor

@turadg turadg commented Mar 12, 2024

With ES modules, the file extension is obligatory for relative imports.

This adds the extension to relative imports so the modules can be used in an ESM environment.

It's adapted from https://github.com/Agoric/agoric-sdk/blob/f71b72227f163a56e06c8511261396051383c0d4/patches/%40cosmology%2Btelescope%2B1.4.12.patch

@Zetazzz Zetazzz changed the base branch from main to esm-comp March 18, 2024 22:49
@Zetazzz Zetazzz merged commit b953e4a into cosmology-tech:esm-comp Mar 18, 2024
@turadg turadg deleted the esm-compat branch March 18, 2024 23:09
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