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 400,000 packages pre-installed, including grunt-rework with all npm packages installed. Try it out:

require("grunt/package.json"); // grunt is a peer dependency. var gruntRework = require("grunt-rework")

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

grunt-rework v0.1.0

work on your css files with rework

grunt-rework v0.1.0 build status

rework your css files with Grunt.

Getting Started

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',

rework task



Type: Array Default: []

An array of rework plugin functions to use.


Type: Object Default: {}

Options to pass to rework's toString method.

Release History

  • 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.

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