gulp-rework

Preprocess CSS with Rework

The Rework project is no longer maintained.
Last updated 6 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install gulp-rework 
SYNC missed versions from official npm registry.

Deprecated

The Rework project is no longer maintained.


gulp-rework Build Status

Preprocess CSS with Rework

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

Install

$ npm install --save-dev gulp-rework

Usage

const gulp = require('gulp');
const rework = require('gulp-rework');
const at2x = require('rework-plugin-at2x');

gulp.task('default', () =>
	gulp.src('src/app.css')
		.pipe(rework(at2x(), {sourcemap: true}))
		.pipe(gulp.dest('dist'))
);

API

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

rework(plugin, plugin, ..., [options])

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

options

Type: Object

sourcemap

Type: boolean
Default: false

License

MIT © Sindre Sorhus

Current Tags

  • 4.0.0                                ...           latest (6 years ago)

16 Versions

  • 4.0.0 [deprecated]           ...           6 years ago
  • 3.0.0                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.2.0                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.4.1                                ...           10 years ago
  • 0.4.0                                ...           10 years ago
  • 0.3.0                                ...           10 years ago
  • 0.2.2                                ...           11 years ago
  • 0.2.1                                ...           11 years ago
  • 0.2.0                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (5)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE