0

I have two Angular applications in two different angular workspaces, where I'd like to use common source files (as opposed to a library or npm repository).

Is there any way to point Angular to an arbitrary directory, which it will consume during build? I thougt about linking a directory, but since GIT will not support that, I put the idea aside.

TGlatzer
  • 5,389
  • 2
  • 22
  • 43
  • 1
    That should be doable via npm. I think you can `npm install` all kind of things, including github repositories and even local directories. – mbojko Feb 26 '20 at 09:05
  • In this case, it would copy the folder over to npm_modules? – TGlatzer Feb 26 '20 at 09:11
  • I haven't tried it personally, but other guys have: https://stackoverflow.com/questions/8088795/installing-a-local-module-using-npm – mbojko Feb 26 '20 at 09:15

0 Answers0