Skip to content

Conversation

@weswigham
Copy link
Member

Do note that type: module package do still require the extension on main; if you actually try to author an esm package with an extensionless main in node you'll get a deprecation warning saying the extension is required.

Fixes #46770

@weswigham weswigham merged commit e32281c into microsoft:main Feb 14, 2022
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot import some packages when tsconfig.json specifies "module": "nodenext"

3 participants