Skip to content

Commit

Permalink
Move product images to top-level third_party dir
Browse files Browse the repository at this point in the history
Change-Id: I388616d8dfe8503d2c6d82d4ecc4d4d563599f49
  • Loading branch information
Sarah Clark committed Sep 27, 2016
1 parent 3a5eb52 commit 284f019
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions step-1/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,24 @@ gulp.task('lint', () =>
);

// Optimize images
gulp.task('images', () =>
gulp.task('images', () => {
gulp.src('app/images/**/*')
.pipe($.imagemin({ // DEBUG removed $.cache( before imagemin
progressive: true,
interlaced: true
}))
.pipe(gulp.dest('dist/images'))
.pipe($.size({title: 'images'}))
.pipe($.size({title: 'images'}));

gulp.src('../third_party/images/**/*')
.pipe($.imagemin({ // DEBUG removed $.cache( before imagemin
progressive: true,
interlaced: true
}))
.pipe(gulp.dest('dist/images'))
.pipe($.size({title: 'product images'}))
}

);

// Copy all files at the root level (app)
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 284f019

Please sign in to comment.