Hi,
I am trying to cache node_modules for my application, the issue is that the application folder structure is:
Root:
Folder A:
node_modules
src
Folder B:
node_modules
src
And the node_modules in most of the subfolders are the same. Subfolders are components/tools, and so we create and/or delete often. so defining custom caches manually for each of them is not that practical.
My question is, did anyone encounter similar situation? is it possible to pool all of the node_modules in one location, and instruct npm to look for them in there?
Open to all new ideas or suggestions.
Thanks