3.0.0 • Published 5 years ago

gulp-styl v3.0.0

Weekly downloads
111
License
MIT
Repository
github
Last release
5 years ago

Deprecated

Deprecated as the Styl project is no longer maintained.


gulp-styl Build Status

Preprocess CSS with Styl

Issues with the output should be reported on the Styl issue tracker.

Install

$ npm install --save-dev gulp-styl

Usage

const gulp = require('gulp');
const styl = require('gulp-styl');
const inline = require('rework-inline');

gulp.task('default', () =>
	gulp.src('src/app.css')
		.pipe(styl(inline()))
		.pipe(gulp.dest('dist'))
);

API

The compress option from Styl is intentionally missing. A separate task like gulp-csso will do a much better job.

styl(plugin, plugin…, options)

Plugins are supplied as arguments. Optionally supply an object with options as the last argument.

options

Type: Object

whitespace

Type: boolean Default: false

Utilize CSS whitespace transformations.

License

MIT © Sindre Sorhus

3.0.0

5 years ago

2.0.0

6 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago