Commit 2e9d1505 authored by Michael Iseard's avatar Michael Iseard
Browse files

add build process for images

parent a6d5f64b
var gulp = require('gulp')
var image = require('gulp-image');
// paths
let path = {
src: {
img: 'img/*',
},
dist: {
img: 'img/',
}
}
gulp.task('images', function () {
return gulp.src(path.src.img)
.pipe(image())
.pipe(gulp.dest(path.dist.img))
})
gulp.task('default', gulp.parallel('images'))
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment