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

Loading ESM in Typescript #191

Closed
1 task done
unional opened this issue Dec 26, 2024 · 0 comments · Fixed by #190
Closed
1 task done

Loading ESM in Typescript #191

unional opened this issue Dec 26, 2024 · 0 comments · Fixed by #190
Labels
enhancement New feature or request

Comments

@unional
Copy link
Contributor

unional commented Dec 26, 2024

Describe the feature

Currently type: module is missing in the package.json.

This cause TypeScript to load the CJS code instead of ESM when moduleResolution: Node16/NodeNext.

Addinge type: module would address this issue.

Additional information

  • Would you be willing to help implement this feature?
@unional unional added the enhancement New feature or request label Dec 26, 2024
@unional unional changed the title Loading ESM in Typescripe Loading ESM in Typescript Dec 26, 2024
@pi0 pi0 closed this as completed in #190 Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant