       entries : entryPath
     .pipe source entryPath
     .pipe gulpBuffer()
-    .pipe pistachioCompiler()
+    .pipe pistachio()
     .pipe gulpif useUglify, uglify()
     .pipe rename "kd.#{version}js"
     .pipe gulp.dest "#{buildDir}/js"

gulpBuffer = require 'gulp-buffer'
ecstatic   = require 'ecstatic'
{exec}     = require 'child_process'

pistachioCompiler = require 'gulp-pistachio-compiler'

STYLES_PATH   = require './src/themes/styl.includes.coffee'
COFFEE_PATH   = ['./src/components/**/*.coffee','./src/core/**/*.coffee','./src/init.coffee']


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