There is a gulp task:
gulp.task('copy-bower-components-to-dev', function () {
gulp.src('./app/bower_components/**')
.pipe(gulp.dest('dev/bower_components'));
});
I also need the same task for another folder:
gulp.task('copy-bower-components-to-prod', function () {
gulp.src('./app/bower_components/**')
.pipe(gulp.dest('prod/bower_components'));
});
But it is not a clean code; how can I make a gulp task with params(in this case param with a folder name)? Thanks in advance!