When I’m developing, I tend to install with the -g
(or global
) flag. If I am using the package in multiple projects, it will look first in the global repository before adding to the local one.
That said, for each build, yeah - you’d end up with a sizeable node_modules.