 gulp         = require "gulp"
+imagemin     = require 'gulp-imagemin'
+pngquant     = require 'imagemin-pngquant'
 rename       = require "gulp-rename"
+replace      = require "gulp-replace"
 rev          = require 'gulp-rev'
 
 conf = require '../gulpconfig'

      progressive: true,
      interlaced: true,
      svgoPlugins: [
        { removeViewBox: false },
        { removeUselessStrokeAndFill: false },
        { removeEmptyAttrs: false }
      ],
      use: [pngquant()]
    }

#     $REV CSS
#*------------------------------------*/
gulp.task "rev:css", ["minify:css"], () ->
  gulp.src(["#{conf.path.prod.css}/style.min.css"])
    .pipe rev()
    .pipe gulp.dest(conf.path.prod.css)
    .pipe rev.manifest(conf.revManifest.path, conf.revManifest.opts)
    .pipe gulp.dest('./')
