         .pipe(header(headerCat, version))
         .pipe(gulp.dest(config.js.dest.main))
 
-gulp.task 'js_build_lib', ->
     gulp.src(config.js.src.lib)
         .pipe(plumber())
         .pipe(closure(compilation_level: 'SIMPLE_OPTIMIZATIONS'))
         .pipe(uglify())
         .pipe(gulp.dest(config.js.dest.lib))
-
-gulp.task 'js_build', sequence(
-    ['js_build_main']
-    ['js_build_lib']
-)
 
 
 


###
#
#	LOCAL SERVER SECTION
#
###

gulp.task 'browser-sync', ->
    browserSync server:
        baseDir: path.dest
        proxy: 'hoppas.dev'
        notify: true



###
#
#	CLEAR SECTION
#
###

gulp.task 'clean', ->
    del.sync(
        path.dest

    )


# Собираем релиз
gulp.task 'build', sequence(
    ['clean']
    ['img_build']
    ['stylus_build', 'jade', 'js_build']
    ['styleguide']
)

