Chapter 8. Extending Gulp

This chapter covers

  • The well-maintained Gulp plugin ecosystem
  • How to deal with Gulp-unfriendly plugins
  • Stream-based tools and how to combine them with Gulp
  • Promises and their integration into the Gulp build system

JavaScript build tools usually provide just a core of basic functionality and API. The rest is handled by using a broad variety of plugins that use the existing functionality of other tools and wrap them to be compatible with the build software.

Gulp is no exception, as you’ve seen in the various examples in the previous chapters: the CSS preprocessor LESS has a Gulp relative called gulp-less, and the JavaScript minification tool Uglify is wrapped by gulp-uglify. For the creators of Gulp, having such ...

Get Front-End Tooling with Gulp, Bower, and Yeoman now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.