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

#*------------------------------------*/
gulp.task 'rev:scripts', ["minify:scripts"], () ->
  gulp.src(["#{conf.path.prod.js}/main.bundle.min.js"])
    .pipe rev()
    .pipe gulp.dest(conf.path.prod.js)
    .pipe rev.manifest(conf.revManifest.path, conf.revManifest.opts)
    .pipe gulp.dest('./')

    cssStream.pipe replace(new RegExp("(" + regkey + ")(?!\\w)", "g"), manifest[key])
  , cssStream)
    .pipe gulp.dest("./#{conf.path.prod.css}")

