I had worked on angular 1.x project before where we used bower to manage and install front-end dependencies. We used a gulp build system, in which we used gulp-wiredep to wire up all dependencies in index.html.
Just recently, I have started working on Angular 4.x project and planning out to create a build system with gulp. Is that even possible? I know there are other options available like webpack, angular-cli etc... but is wish to create it using gulp.
My questions is:
- How to manage the front-end dependencies?
Earlier when we used gulp, front-end dependencies were managed by bower and we used gulp-wiredep to wire all those up in index.html. But when I searched for Angular 4.x package in bower, I did't find one.
- If I use SystemJs as a module loader, do I still have to reference all the js (ts->js) in index.html?
Earlier we had a gulp task which picked up all the js file referenced in index.html and bundled it into one app.js file.
Please help! I understand angular 4.x but I am finding a hard time with a build system.