3.2.2 • Published 9 years ago

gulp-stylecow v3.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gulp-stylecow

Execute stylecow plugins with gulp

Usage

Common way:

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

gulp.task('stylecow', function() {
    gulp.src('./src/*.css')
        .pipe(stylecow({
            code: 'minify',
            plugins: [
                'color',
                'variables',
                'import',
                'flex',
                'prefixes',
                'fixes'
            ]
        }))
        .pipe(gulp.dest('./public/'));
});

Using stylecow.json file

var stylecow = require('gulp-stylecow'),
    rename   = require('gulp-rename');

gulp.task('stylecow', function() {
    var config = require('./stylecow.json');

    stylecow.src(config.files).forEach(function (file) {
        gulp.src(file.input)
            .pipe(stylecow(config))
            .pipe(rename(file.output))
            .pipe(gulp.dest('./'));
    });
});
3.2.2

9 years ago

3.2.1

9 years ago

3.2.0

9 years ago

3.1.1

10 years ago

3.1.0

10 years ago

3.0.4

10 years ago

3.0.3

10 years ago

3.0.2

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.0.0

10 years ago

0.2.0

11 years ago

0.1.0

11 years ago