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.
How do I get it to check for package.json main?
Starting the config here:
{
"extensions": [ ".js", ".json", ".node"]
}
The text was updated successfully, but these errors were encountered:
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 aspackage.json
main, and it's not. I would appreciate if someone could share whatoptions
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.How do I get it to check for
package.json
main?Starting the config here:
The text was updated successfully, but these errors were encountered: