gulp-smushit
gulp-smushit copied to clipboard
gulp-smushit config
Não estou conseguindo usar o gulp-smushit. Configurei conforme o exemplo mas ele não converte as imagens. E não apresenta nenhum erro.
var gulp = require('gulp'); var smushit = require('gulp-smushit');
gulp.task('images', function () { return gulp.src('../pre-images/*.{jpg,png}') .pipe(smushit()) .pipe(gulp.dest('../build/imgs/')); });
return [17:15:59] Starting 'jshint'... [17:15:59] Finished 'jshint' after 8.32 ms [17:15:59] Starting 'scripts'... [17:15:59] Finished 'scripts' after 7.37 ms [17:15:59] Starting 'styles'... [17:15:59] Finished 'styles' after 3.67 ms [17:15:59] Starting 'images'... [17:15:59] Finished 'images' after 13 ms [17:15:59] Starting 'default'... [17:15:59] Finished 'default' after 6.09 µs
Sorry for the delay. I was over busy with some company projects.
Just ran a test using Gulp latest version and all seems fine.
What was the environment spec when you got into it?
🇧🇷
Desculpe a demora. Estava muito ocupado com alguns projetos da empresa.
Acabei de fazer um teste usando a última versão do gulp e tudo parece ok.
Qual era sua configuração quando você teve esse erro?