Answer the question
In order to leave comments, you need to log in
How to specify the path to all subfolders and files?
I want to return the contents from these folders and move them. At the same time, an empty "wow.css" appears in the path.css folder, nothing appears in path.js In gulpfile indicated:
gulp.task('function',function(){
gulp.src('done/**.*')
.pipe(gulpIf('**/*.css', gulp.dest(path.css), gulpIf('**/*.js', gulp.dest(path.js))))
});
├── done
│ ├── css
│ │ ├── wow.css
│ │ │ └── main.css
│ │ └── bootstrap
│ │ └── main.css
│ └── js
│ ├── jquery
│ │ └── jquery.min.js
│ └── bootstrap
│ └── main.js
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question