Gulp.js is a JavaScript task runner which helps automate repetitive tasks like minification, compilation, unit testing, linting, etc.
3
votes
1answer
825 views
Gulpfile.js optimization and image caching
I'm trying to write gulpfile.js, which will follow modern best practices for optimization. This project includes jekyll, SASS and some image optimization tasks. I'm pretty new to JavaScript and Gulp, ...
1
vote
1answer
122 views
Managing JS assets
My main concern in this script is the 'js' task. Each time I change 'frontend.js' I concat and minify 'jquery.js', 'bootstrap.js', and frontend.js. I'm only really editing one file, yet on every save ...
7
votes
1answer
2k views
Optimizing gulpfile.js
I'm fairly new to JavaScript and Gulp. I was following this article for creating my gulpfile, trying to follow best practices, but it seems to me that this peace of code can be optimized and written ...
1
vote
0answers
214 views
Gulp file for a simple SVG/Sass project
Here's a simple gulpfile.js I'm using on a very simple project which basically consists of an animation built with Sass, SVG and very little JS.
...