james-cssmin

CSS compressor for James.js. Uses node-cssmin.

Synopsis

CSS compressor for James.js. Uses node-cssmin.

var james  = require('james'),
    cssmin = require('james-cssmin');
 
james.task('jade', function() {
    
  james.list('src/**/*.css').forEach(function(file) {
    james.read(file)
      .transform(cssmin)
      .write(process.stdout);
  });
});
 

cssmin(): Returns a new CSS compressor stream. Does not accept any options.