mirror of
https://github.com/Xevion/old.xevion.github.io.git
synced 2025-12-07 16:07:44 -06:00
uncommenting build files creates jekyll error
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
const imagemin = require('gulp-imagemin');
|
||||
// const imagemin = require('gulp-imagemin');
|
||||
|
||||
const imgPath = 'img/**/*.+(png|jpg|gif|svg)';
|
||||
const destPath = '_site/img';
|
||||
// const imgPath = 'img/**/*.+(png|jpg|gif|svg)';
|
||||
// const destPath = '_site/img';
|
||||
|
||||
module.exports = gulp => {
|
||||
// module.exports = gulp => {
|
||||
|
||||
gulp.task('images', () => {
|
||||
return gulp.src( imgPath )
|
||||
.pipe(imagemin())
|
||||
.pipe(gulp.dest( destPath ));
|
||||
});
|
||||
// gulp.task('images', () => {
|
||||
// return gulp.src( imgPath )
|
||||
// .pipe(imagemin())
|
||||
// .pipe(gulp.dest( destPath ));
|
||||
// });
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user