 		.pipe plumber()
 		.pipe coffee({bare: true}).on('error', gutil.log)
 		.pipe uglify()
+		.pipe rename((path) ->
+			path.extname = ".min" + path.extname
+		)
 		.pipe gulp.dest(conf.path.js)
 		.pipe reload({stream: true})
 

#*------------------------------------*\
#   $CONTRIB-UGLIFY
#*------------------------------------*/
# 	uglify:
# 		target:
# 			files:
# 				'<%= conf.path.js %>/main.min.js': '<%= conf.path.js %>/main.js'


#*------------------------------------*\

# #*------------------------------------*/
# grunt.registerTask 'default', ['watch']
# grunt.registerTask 'optim', ['imageoptim', 'svgmin']
gulp.task "build", ["compress", "minify"]
# grunt.registerTask 'depcheck', ['devUpdate:check']
# grunt.registerTask 'depask', ['devUpdate:ask']
# grunt.registerTask 'depup', ['devUpdate:up']
