mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-29 23:12:39 +01:00
15 lines
471 B
JavaScript
15 lines
471 B
JavaScript
var gulp = require('gulp');
|
|
var print = require('gulp-print');
|
|
var paths = require('./paths.js');
|
|
|
|
gulp.task('imageMin', function() {
|
|
var imagemin = require('gulp-imagemin');
|
|
return gulp.src(paths.src.images)
|
|
.pipe(imagemin({
|
|
progressive : false,
|
|
optimizationLevel : 4,
|
|
svgoPlugins : [{ removeViewBox : false }]
|
|
}))
|
|
.pipe(print())
|
|
.pipe(gulp.dest(paths.src.content + 'Images/'));
|
|
}); |