gulp-lqip
v0.0.5
Published
A gulp task for looping the file system, then calling a fuction to do additional tasks
Downloads
1
Readme
gulp-loop-files
A Gulp task for looping through a gulp project and calling a task on each item. Inspired by gulp-inline-image-html.
Hacked from gulp-inline-image
Usage
var gulp = require('gulp');
var loop = require('gulp-loop-files');
var lqip = require('gulp-lqip');
gulp.task('default', function () {
gulp.src('src/**/*.html')
.pipe(loop('src', lqip)) // takes in the directory to use as the root when looking for images
.pipe(gulp.dest('dest/'));
})