node package manager


work on your css files with rework

grunt-rework v0.1.0

rework your css files with Grunt.

First, setup your project with grunt.

Then, install the grunt-rework plugin:

npm install --save-dev grunt-rework

Add this line to your Gruntfile:


Then specify what files to rework in your Grunt config:

var rework_import = require('rework-import');
  rework: {
    'dest/index.css': 'src/index.css',
    options: {
      toString: {compress: true},
      use: [
    prod: {
      options: {
        toString: {
          compress: true
      files: {
       'dest/index.css': 'src/index.css',

Type: Array Default: []

An array of rework plugin functions to use.

Type: Object Default: {}

Options to pass to rework's toString method.

  • 0.1.0 Update to rework 1.0, remove vendors option, remove support for built-in rework plugin
  • 0.0.5 Update rework version
  • 0.0.3 New use syntax
  • 0.0.2 Allow use of rework or own functions
  • 0.0.1 First Release

Copyright (c) 2013 Jean-Sébastien Ney Licensed under the MIT license.