Replaced use of gulp-util.
This commit is contained in:
parent
22a0986468
commit
d828a7a8d2
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ gulp.task('scripts', (done) => {
|
|||
'!assets/js/**/*.min.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(gulp.dest('assets/js'));
|
||||
|
||||
|
|
Loading…
Reference in a new issue