Skip to content

import cosmjs-types with full file path #1785

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dynst
Copy link
Contributor

@dynst dynst commented Aug 7, 2025

sed -i -E 's/(from "cosmjs-types.+)";$/\1.js";/' `grep cosmjs-types/ -rlI packages/`

Omitting a file extension only works when transpiled to CJS.

Prerequisite for #1004

can't omit a file extension if cosmjs becomes ESM. that only works
if transpiled to CJS.
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