-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
central issue for "default extensions" #166
Comments
@ljharb well done! I'm subscribed and have my eyes peeled. Seems like as I predicted last year there will be more eyeballs looking in the This is a great synopsis but even myself remember you had made a couple suggestions. I wonder what they are currently (especially with the new Thoughts? |
As it relates to |
@ljharb sounds like a plan! Any ref we can use to stick in the description / comment to watchdog? Seems like you know better than me. I've merely been judging off PTSD of the community and in the classrooms. :-| FWIW I'm totally against |
A file extension is strictly necessary, since Module and Script have distinct (and ambiguous) parsing goals, and a file extension is the proper and sole way to disambiguate textual parsing goals - so this result was inevitable once the choice of two parse goals was made in TC39 back in 2013 or so. |
This issue encompasses anything that deals with "what the default extensions are/should be".
.json
is not included in the defaults.require.extensions
list and assumes only ['.js'] #137 points out thatrequire.extensions
is not used as the defaultsrequire.extensions
toresolve
tape-testing/tape#395 is related, but can be addressed with changes intape
, unrelated to whateverresolve
does.extensions
option is used. #134)There's some PRs out that are hoping to change the defaults:
require.extensions
#138 dynamically readsrequire.extensions
on every call.js
with a hardcoded list of the defaultrequire.extensions
valueI'm opening this so I can close the other issues, and so any further discussion can happen here.
Please try to read all of the previous discussions before commenting.
The text was updated successfully, but these errors were encountered: