This package has been deprecated

    Author message:

    use gulp-postcss instead

    gulp-rucksack

    0.1.4 • Public • Published

    Gulp Rucksack

    NPM version Build Status Dependency Status

    Gulp plugin for Rucksack - a little bag of CSS superpowers.

    Inspired by gulp-cssnano.

    Install

    Install via npm

    $ npm install gulp-rucksack --save-dev

    --

    Usage

    var gulp = require('gulp');
    var rucksack = require('gulp-rucksack');
     
    gulp.task('rucksack', function() {
      return gulp.src('src/style.css')
        .pipe(rucksack())
        .pipe(gulp.dest('style.css'));
    });

    --

    Source Maps

    gulp-rucksack supports gulp-sourcemaps

    var gulp = require('gulp');
    var rucksack = require('gulp-rucksack');
    var sourcemaps = require('gulp-sourcemaps');
     
    gulp.task('rucksack', function() {
      return gulp.src('src/style.css')
        .pipe(sourcemaps.init())
        .pipe(rucksack())
        .pipe(sourcemaps.write('.'))
        .pipe(gulp.dest('style.css'));
    });

    Install

    npm i gulp-rucksack

    DownloadsWeekly Downloads

    141

    Version

    0.1.4

    License

    MIT

    Last publish

    Collaborators

    • seaneking