I am using Swiip/generator-gulp-angular and I want to have two separate SPAs(index.html) built into dist folder.
I wish gulp serve
and gulp dist:serve
to build those two SPAs, the first will be built into dist/index.html
and the second will be built into dist/app2/index.html
assuming that app2
was defined as another source folder, similar to the src
folder.
If anyone can guide me on how to modify [Swiip/generator-gulp-angular] or to point me to another gulp solution, it would be great and highly appreciated.
UPDATE I guess that I can create two sub-directories app1 and app2 that are generated with Swiip/generator-gulp-angular. Each folder will be configured to dump the destination to a subdirectory in the a dist directory inside the root folder of the project. Then I can create a gulp file with a task to call the build of those two projects separately. I hope that it will work.