0.0.2 • Published 10 years ago

combine-css v0.0.2

Weekly downloads
130
License
-
Repository
github
Last release
10 years ago

combine-css v0.0.2 Build Status

Information

Example usage with Gulp

var gulp = require('gulp');
var combineCSS = require('combine-css');

gulp.task('combine', function() {
    gulp.src('./css/*.css')
        .pipe(combineCSS({
            lengthLimit: 256,//2KB
            prefix: '_m-',
            selectorLimit: 4080
        }))
        .pipe(gulp.dest('./combinedCSS'));
});

gulp.task('default', ['combine']);

// Rerun the task when a file changes
gulp.task('watch', function () {
  gulp.watch('./css/*.css', ['combine']);
});