Added gulpfile.js

This commit is contained in:
Oliver Davies 2016-01-04 11:36:14 +00:00
parent 80c0ca5b15
commit 678b37cd05

12
gulpfile.js Normal file
View file

@ -0,0 +1,12 @@
'use strict';
var gulp = require('gulp'),
imagemin = require('gulp-imagemin');
gulp.task('image', function () {
gulp.src('./source/assets/images/*')
.pipe(imagemin())
.pipe(gulp.dest('./source/assets/images'));
});
gulp.task('default', []);