My angular 2 project is located in the directory /c/users/batcave/first_project.
In that same directory, I have various files such as index.html, systemjs.config.js etc., and a node_modules folder that only contains @types and typescript. This means my @angular and other dependencies are stored in a separate directory: /c/users/dep/node_modules.
While I have updated my systemjs.config.js file to point to this different directory during runtime, my concern lies with the compilation process. How can I instruct tsc to look for dependencies in a specified external directory (/c/users/dep/node_modules) instead of the current node_modules folder it is searching in?
I attempted to set the baseUrl setting in tsconfig.json, but unfortunately, it did not work. As tsconfig resides in /c/users/batcave/first_project, I tried setting the relative path for the external node_modules to ../../dep/.