My only opinion on your mostly well written Gulpfile is to consider restructuring your 330+ line Gulpfile into multiple files, separated by grouped tasks.
During an overview of your file, the tasks seemed to be loosely categorized into three groups:
- image modifications
- copying / Jekyll
- JavaScript and Sass
As someone who doesn't like large files of code, I would suggest a build/
directory and a main Gulpfile.js
to run your builds. Something along the following tree:
/Gulpfile.js
/build/images.js
/build/statics.js
/build/js-sass.js
This StackOverflow question handles the "how to" very nicely. Besides that tip (and some indentation errors), I think the Gulpfile looks great.
- 203
- 1
- 6