Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simonsmith/gulp-suitcss

SUIT CSS preprocessor via gulp
https://github.com/simonsmith/gulp-suitcss

gulp javascript suit-css

Last synced: 23 days ago
JSON representation

SUIT CSS preprocessor via gulp

Awesome Lists containing this project

README

        

# gulp-suitcss [![Build Status](https://travis-ci.org/simonsmith/gulp-suitcss.svg?branch=master)](https://travis-ci.org/simonsmith/gulp-suitcss) [![Build status](https://ci.appveyor.com/api/projects/status/ah0mjm381w6p0r5d?svg=true)](https://ci.appveyor.com/project/simonsmith/gulp-suitcss)

> Preprocess CSS with the [suitcss-preprocessor](https://github.com/suitcss/preprocessor)

## Install

```
$ npm install gulp-suitcss --save-dev
```

## Usage

```js
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](https://github.com/suitcss/preprocessor#nodejs).

## Credit

Original version by Casear Chu