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

Drop import of extensionless #3

Closed
wants to merge 2 commits into from

Conversation

GeoffreyBooth
Copy link
Owner

This PR removes support for import of extensionless files, per discussion in nodejs#31388 (comment). Such support was only added last month, in nodejs#31021, and 13.6.0. This PR reverts that one, and updates the docs to make it clear that the prior support for extensionless files was limited to main entry points.

Whether we want to go further and drop support for extensionless ESM main entry points is an open question, and one that I think should probably get its own PR. I assume that that support was there as part of supporting bin files, so if we remove it we’ll need some other equivalent solution.

I also appreciate that nodejs#31021 had its own purpose in enabling WASI entry points, and so reverting it will mean that we need a new solution for that use case as well. I don’t think this PR needs to wait on that solution, however, since WASI entry points aren’t supported yet in Node.

@ljharb
Copy link
Collaborator

ljharb commented Jan 19, 2020

wrong target repo?

@GeoffreyBooth GeoffreyBooth deleted the drop-import-of-extensionless branch January 20, 2020 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants