Speeding up our Gulp build
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
.gitignore
Gulpfile.js
LICENSE
README.md
bundle.js
index.html
package.json

README.md

Optimized Gulp Builds

This one weird trick...

This repository showcases a variety of not-that-weird tricks to speed up your Gulp builds. Most of these techniques focus on "incremental" builds (rebuilding only the files that changed), however there are some general best practices sprinkled in for good measure.

  • Master is the naive branch, showing a common gulpfile with minimal optimizations
  • Incremental is the improved branch, featuring Watchify, gulp-cached, and a few handy Browserify parameters

Read the full article on these techniques on the Pellucid blog to see how we cut our rebuild times to about 20% of their original length.