mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-11 13:07:28 -05:00
The add-node-modules-path package calls `npm bin` to locate the node_modules/.bin, and does so while invoking the user's $SHELL, which can be very expensive depending on the user's shell configuration, possibly adding seconds to the startup time of any JS/TS file. To mitigate this, I replace the package with a much faster, and in-house heuristic. Folks with more complex needs should be using direnv anyway. Fix: #6878
12 KiB
12 KiB