imagemin / mozjpeg-bin

mozjpeg bin-wrapper that makes it seamlessly available as a local dependency

Home Page:https://github.com/mozilla/mozjpeg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not working

Yuriy-Svetlov opened this issue · comments

var mozjpeg = require('mozjpeg');
//gulp mozjpeg

gulp.task('mozjpeg', function() {
    return execFile(mozjpeg, ['-outfile', 'build/img/', 'src/img/**/*.jpg'], function (err) {
    console.log('Image minified!');
});
});

Not a mozjpeg-bin issue. Use https://stackoverflow.com/ for gulp.js support questions.