70
rated 0 times
[
75]
[
5]
/ answers: 1 / hits: 41999
/ 9 Years ago, wed, may 6, 2015, 12:00:00
I am trying to copy files from one folder to another folder using Gulp:
gulp.task('move-css',function(){
return gulp.src([
'./source/css/one.css',
'./source/other/css/two.css'
]).pipe(gulp.dest('./public/assets/css/'));
});
The above code is copying one.css
& two.css
to the public/assets/css
folder.
And if I use gulp.src('./source/css/*.css')
it will copy all CSS files to the public/assets/css
folder which is not what I want.
How do I select multiple files and keep the folder structure?
More From » css