npm

Need private packages and team management tools?Check out npm Orgs. »

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

142

version

0.1.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability