 clean = require "gulp-clean"
 rev = require 'gulp-rev'
 rev_replace = require 'gulp-rev-replace'
+webp = require 'gulp-webp'
+size = require 'gulp-size'
+rename = require 'gulp-rename'
+imagemin = require 'gulp-imagemin'
 
 # =================================================================                      
 # high level tasks

    .pipe(image_min(options))
    .pipe(gulp.dest('./'))


# =================================================================                      
# site compile tasks


gulp.task "preview", (cb)->
  return runSequence  ['build:clean', 'js:clean'],
                      ['css:build','js:build','img:make:previews'],
                      'build_wintersmith',
                      'css:clean',
                      cb
