You learned how to install and setup gulp in chapter 2 and have already written your first Hello World! task. Now it’s time to get productive. In this chapter you will learn how to master the two most important gulp mechanisms that will be involved in 90 percent of your gulp tasks:
Since gulp plugins are meant to do file-based operations, most of your gulp tasks will start off by reading files with
gulp.src. In a task that minifies your CSS, you might then pass those read files over to a plugin that minifies CSS files. When it’s done, you’ll take the result of the CSS minifier and pass the minified files over to
gulp.dest, which ...