How to change task for Gulp?

Good day, in the working folder I have many files, css/scss , and also many js files, how can I do that-if you build in the working directory dist copied only 1 style.css and 1 index.min.js
Now copied everything in the folder src/assets/css/ and src/assets/js/
Tusk himself
gulp.task('assets', function() {
 return gulp.src(['src/**', '!src/assets/libs{,/**}', '!src/**/*.psd'], {since: gulp.lastRun('assets')})
.pipe(newer('dist'))
.pipe(gulp.dest('dist'));
});
June 3rd 19 at 19:30
0 answer

Find more questions by tags Gulp.js