diff --git a/gulp/errorHandler.js b/gulp/errorHandler.js new file mode 100644 index 000000000..eb6172df5 --- /dev/null +++ b/gulp/errorHandler.js @@ -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'); + } +} \ No newline at end of file diff --git a/gulp/imageMin.js b/gulp/imageMin.js index 1dec8fa00..0c51121bb 100644 --- a/gulp/imageMin.js +++ b/gulp/imageMin.js @@ -12,5 +12,5 @@ gulp.task('imageMin', function () { svgoPlugins: [{removeViewBox: false}] })) .pipe(print()) - .pipe(gulp.dest(paths.src.images)); + .pipe(gulp.dest(paths.src.content + 'Images/')); }); \ No newline at end of file