Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including gulp-cssnext with all npm packages installed. Try it out:

var gulpCssnext = require("gulp-cssnext")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gulp-cssnext v1.0.1

Use tomorrow's CSS syntax, today, using cssnext via Gulp

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

Changelog

License

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free