You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there's a lot of discussion about what the defaults should be for this module. It seems like it's too late for that. This module is already in use. However I'm using this in a project and expected .json to work as well as package.json main, and it's not. I would appreciate if someone could share what options that should be passed to mimic the node's default, perhaps we can add another function to this module in the future or just add it to the docs to help mitigate confusion.
Activity
ljharb commentedon Feb 18, 2018
That indeed should do it, since those are the default extensions; you can also do
"extensions": require.extentionsreggi commentedon Feb 22, 2018
Ah, ok the issue i'm having is related to Promises.