Optimize node_modules indexing

Description

Indexing node_modules can take quite a while. As an example, with the node_modules directory that is set up for React Native projects, on a 2012 Mac Pro, this can take about 45 seconds. This is long enough where, if node_modules isn't actually being used for ClojureScript, using :npm-deps false is highly motivated.

If there was a way to make this closer to instantaneous (perhaps via caching or other clever approaches), then this would benefit all users.

Environment

None

Assignee

David Nolen

Reporter

Mike Fikes

Labels

Approval

None

Patch

Code

Affects versions

Priority

Major
Configure