Sha256: a892ccf187ad9943f2a7baf9d4cba67793a185b1b6ac19c9885e28eaaeadb0ad

Contents?: true

Size: 358 Bytes

Versions: 8

Compression:

Stored size: 358 Bytes

Contents

changed     = require 'gulp-changed'
gulp        = require 'gulp'
imagemin    = require 'gulp-imagemin'
config      = require('../config').images
browserSync = require 'browser-sync'

gulp.task 'images', ->
  gulp.src(config.src)
    .pipe changed(config.dest)
    .pipe imagemin()
    .pipe gulp.dest(config.dest)
    .pipe browserSync.reload(stream: true)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blueberry_rails-0.4.1 templates/gulp/tasks/images.coffee
blueberry_rails-0.4.0 templates/gulp/tasks/images.coffee
blueberry_rails-0.3.10 templates/gulp/tasks/images.coffee
blueberry_rails-0.3.9 templates/gulp/tasks/images.coffee
blueberry_rails-0.3.8 templates/gulp/tasks/images.coffee
blueberry_rails-0.3.7 templates/gulp/tasks/images.coffee
blueberry_rails-0.3.6 templates/gulp/tasks/images.coffee
blueberry_rails-0.3.5 templates/gulp/tasks/images.coffee