Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 481 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 481 Bytes

cha-gulp

Gulp extension for cha.

var cha = require('cha');
var gulp = require('cha-gulp');

cha.in('autoprefixer', gulp('gulp-autoprefixer'))
    .in('less', gulp('gulp-less'))
    .in('reader', require('task-reader'))
    .in('writer', require('task-writer'))

cha()
    .reader(__dirname + '/fixtures/foo.less')
    .less()
    .autoprefixer({
        browsers: ['last 2 versions'],
        cascade: false
    })
    .writer(__dirname + '/fixtures/foo.css')