Closed
Description
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"]
}
Metadata
Metadata
Assignees
Labels
No labels