mirror of
https://github.com/Radarr/Radarr
synced 2024-12-23 08:22:39 +00:00
fixed gulp less
This commit is contained in:
parent
9db41cf4be
commit
e3411319b8
2 changed files with 8 additions and 1 deletions
7
gulp/errorHandler.js
Normal file
7
gulp/errorHandler.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
module.exports = {
|
||||||
|
onError:function (error) {
|
||||||
|
//If you want details of the error in the console
|
||||||
|
console.log(error.toString());
|
||||||
|
this.emit('end');
|
||||||
|
}
|
||||||
|
}
|
|
@ -12,5 +12,5 @@ gulp.task('imageMin', function () {
|
||||||
svgoPlugins: [{removeViewBox: false}]
|
svgoPlugins: [{removeViewBox: false}]
|
||||||
}))
|
}))
|
||||||
.pipe(print())
|
.pipe(print())
|
||||||
.pipe(gulp.dest(paths.src.images));
|
.pipe(gulp.dest(paths.src.content + 'Images/'));
|
||||||
});
|
});
|
Loading…
Reference in a new issue