Gulpjs combine two tasks into a single task

后端 未结 11 1164
攒了一身酷
攒了一身酷 2020-12-24 01:56

I currently have two tasks, that both compile sass files. I would still like to concat the two directories into separate files but it seems that it would be more maintainabl

11条回答
  •  情深已故
    2020-12-24 02:20

    It works.

    var task1 = gulp.src(...)...
    var task2 = gulp.src(...)...
    return [task1, task2];
    

提交回复
热议问题