Commit 53f6281a authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[BUGFIX] correct image paths

parent 723b8ac6
......@@ -9,11 +9,11 @@ var gulp = require('gulp'),
});
gulp.task('images', function() {
return gulp.src(settings.getPath() + config.directories.images + '/**/*{.png,.jpg,.gif}')
return gulp.src(settings.getPath() + '/' + config.directories.images + '/**/*{.png,.jpg,.gif}')
.pipe(plugins.imagemin({
progressive: true
}))
.pipe(gulp.dest(settings.getPath() + config.directories.images));
.pipe(gulp.dest(settings.getPath() + '/' + config.directories.images));
});
gulp.task('images:uploaded', function() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment