Added gulpfile.js
This commit is contained in:
parent
80c0ca5b15
commit
678b37cd05
12
gulpfile.js
Normal file
12
gulpfile.js
Normal 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', []);
|
Loading…
Reference in a new issue