Replaced use of gulp-util.

This commit is contained in:
Alex Tselegidis 2020-03-18 20:21:33 +01:00
parent 22a0986468
commit d828a7a8d2

View file

@ -113,7 +113,7 @@ gulp.task('scripts', (done) => {
'!assets/js/**/*.min.js' '!assets/js/**/*.min.js'
]) ])
.pipe(plugins.changed('assets/js/**/*')) .pipe(plugins.changed('assets/js/**/*'))
.pipe(plugins.uglify().on('error', plugins.util.log)) .pipe(plugins.uglify().on('error', console.log))
.pipe(plugins.rename({suffix: '.min'})) .pipe(plugins.rename({suffix: '.min'}))
.pipe(gulp.dest('assets/js')); .pipe(gulp.dest('assets/js'));