Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.
/ gulp-cssnext Public archive

DEPRECATED. Use gulp-postcss instead.

License

Notifications You must be signed in to change notification settings

MoOx/gulp-cssnext

Repository files navigation

DEPRECATED. Use gulp-postcss instead.


gulp-cssnext

Build Status NPM version

Use tomorrow's CSS syntax, today. Via Gulp.

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

Install

$ npm install gulp-cssnext

Usage

var cssnext = require("gulp-cssnext")

gulp.task("stylesheets", function() {
  gulp.src("src/stylesheets/index.css")
    .pipe(cssnext({
        compress: true
    }))
    .pipe(gulp.dest("./dist/stylesheets"))
});

Options

Options are directly passed to cssnext, so checkout cssnext options directly.

Note: from option is by default automatically specified using gulp source.


Contributing

Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.

$ git clone https://github.com/cssnext/gulp-cssnext.git
$ git checkout -b patch-1
$ npm install
$ npm test