I have a below angular folder structure . I want to uglify/minify the js and html files. Finally I want the same folder structure is maintained in the "build" folder. How can I do this in gulp?
client<folder>
views<folder>
index.html
app.js
home <folder>
home.js
home.html
page1<folder>
page1.js
page1.html
page2<folder>
page2.js
page2.html
page3<folder>
page3.js
page3.html
Thanks
Take a look at the provided code
Additional info: gulp-uglify, gulp-htmlmin