         extensions  : ['.coffee']
         debug       : yes )
       .pipe(gulpif useUglify, uglify())
+      .pipe(concat "kd.js")
+      .pipe(gulp.dest "playground/js")
       .pipe(rename "kd.#{version}js")
       .pipe(gulp.dest "#{buildDir}/js")
 


  stream = gulp.src(STYLES_PATH)
    .pipe(stylus())
    .pipe(concat "kd.#{version}css")
    .pipe(gulpif useMinify, minifyCSS())
    .pipe(gulp.dest "#{buildDir}/css")

  stream.pipe(livereload())  if useLiveReload

  stream = gulp.src(LIBS)
    # .pipe(gulpif useUglify, uglify())
    .pipe(uglify())
    .pipe(concat "kd.libs.js")
    .pipe(gulp.dest "playground/js")
    .pipe(rename "kd.libs.#{version}js")
    .pipe(gulp.dest "#{buildDir}/js")

  stream.pipe(livereload())  if useLiveReload
