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

Add file extensions so dist-files work as ESM in node 19+ #28

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

odinho
Copy link
Member

@odinho odinho commented Jun 3, 2024

The module resolution expects extensions, as it should. We could of course also do this as a build-step, but this is the future.

Fixes #16

The module resolution expects extensions, as it should. We could of
course also do this as a build-step, but this is the future.
It handles the .js imports on its own.
@odinho odinho merged commit 7c54241 into main Jun 3, 2024
2 checks passed
@odinho odinho deleted the odin/run_in_node_19 branch June 3, 2024 13:43
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.

Setup not compatible with node 19
1 participant