I am developing an Angular 4 (Angular CLI) project. My main app uses one git repository (http://..../main.git). I have 2 subprojects that will contain Angular 4 components (http://..../subproject1.git and http://..../subproject2.git).
This is the structure for main app
main-app
|----e2e
|----node_modules
|----src
-----|----app
----------|----components
----------|----submodules
-----|----assets
This is the structure for both subproject1 and subproject2 app
subproject1
|----JavaCode
-----|----...
|----AngularCode
-----|----components
----------|----component1
----------|----component2
subproject2
|----JavaCode
-----|----...
|----AngularCode
-----|----components
----------|----component3
----------|----component4
Is there any way I can "copy at build time" or make a symlink for the subprojects to reside under the folder
main-app
|----...
|----src
-----|----app
----------|----...
----------|----submodules
------------------|----subproject1 //AngularCode folder
------------------|----subproject2 //AngularCode folder
before the ng build phase runs, so Angular CLI could recognize my two submodules?