Skip to content

simonsmith/gulp-suitcss

Repository files navigation

gulp-suitcss Build Status Build status

Preprocess CSS with the suitcss-preprocessor

Install

$ npm install gulp-suitcss --save-dev

Usage

const gulp = require('gulp');
const suitcss = require('gulp-suitcss');

gulp.task('default', () =>
  gulp.src('src/index.css')
    .pipe(suitcss({
      minify: true,
    }))
    .pipe(gulp.dest('build'))
);

API

suitcss([options])

options

See the suitcss preprocessor API.

Credit

Original version by Casear Chu