Gulp Flatten

Whilst working on a personal project (more of that to follow), I’ve wanted to ensure all the different angularJS files go into the same directory after a build. i.e. I don’t want a folder eachfor angular.js, angular-resource.js etc By default, gulp.dest(“dest path here”) overwrites all files in the path with the files from the gulp.src(“source path here”). For the following folder structure ├── angular │   ├── angular.js »