Indexing node_modules can't find `main` when it doesn't have an extension

Description

This problem is present in both module-deps and cljs.closure/index-node-modules-dir

A notorious example is the `bootstrap` package, which lists `dist/js/bootstrap` in the main entry, where bootstrap is boostrap.js

Environment

None

Status

Assignee

David Nolen

Reporter

António Monteiro

Labels

Approval

Accepted

Patch

Code and Test

Fix versions

Priority

Critical
Configure