Skip to content

Conversation

@Heartade
Copy link
Contributor

Adds moduleResolution config and adds esm-style .js module suffix to imports when moduleResolution is set to node16 or nodenext (case-insensitive).

I'm implementing this for my own use, so I have only tested this with my project using ESM modules and I have no idea if this breaks other projects. Not making this a full PR until someone tests this with CommonJS modules.

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