2016-01-04 11:36:14 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var gulp = require('gulp'),
|
|
|
|
imagemin = require('gulp-imagemin');
|
|
|
|
|
|
|
|
gulp.task('image', function () {
|
2016-01-04 11:38:34 +00:00
|
|
|
// Minify images.
|
2016-01-04 11:36:14 +00:00
|
|
|
gulp.src('./source/assets/images/*')
|
|
|
|
.pipe(imagemin())
|
|
|
|
.pipe(gulp.dest('./source/assets/images'));
|
|
|
|
});
|
|
|
|
|
|
|
|
gulp.task('default', []);
|