This issue encompasses anything that deals with "what the default extensions are/should be".
There's some PRs out that are hoping to change the defaults:
I'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.
This issue encompasses anything that deals with "what the default extensions are/should be".
.jsonis not included in the defaults.require.extensionslist and assumes only ['.js'] #137 points out thatrequire.extensionsis not used as the defaultsrequire.extensionstoresolvetape-testing/tape#395 is related, but can be addressed with changes intape, unrelated to whateverresolvedoes.extensionsoption is used. #134)There's some PRs out that are hoping to change the defaults:
require.extensions#138 dynamically readsrequire.extensionson every call.jswith a hardcoded list of the defaultrequire.extensionsvalueI'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.