Skip to content

Instantly share code, notes, and snippets.

@tolgaek
tolgaek / gulpfile.js
Created August 19, 2015 22:31
Gulpfile created for Thinkful Gulp Workshop
var gulp = require('gulp');
var changed = require('gulp-changed');
var imagemin = require('gulp-imagemin');
var del = require('del');
gulp.task('minimizeImages', function() {
return gulp.src('img/*.gif')
.pipe(changed('build'))
.pipe(imagemin())
.pipe(gulp.dest('build'));