not working
Yuriy-Svetlov opened this issue · comments
Yuriy Svetlov commented
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!');
});
});
shinnn commented
Not a mozjpeg-bin issue. Use https://stackoverflow.com/ for gulp.js support questions.