0.1.0 • Published 10 years ago

grunt-rework v0.1.0

Weekly downloads
27
License
-
Repository
github
Last release
10 years ago

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:

grunt.loadNpmTasks('grunt-rework');

Then specify what files to rework in your Grunt config:

var rework_import = require('rework-import');

grunt.initConfig({
  rework: {
    'dest/index.css': 'src/index.css',
    options: {
      toString: {compress: true},
      use: [
        rework_import
      ]
    },
    prod: {
      options: {
        toString: {
          compress: true
        }
      },
      files: {
       'dest/index.css': 'src/index.css',
      }
    }
  }
});

rework task

Options

use

Type: Array Default: []

An array of rework plugin functions to use.

toString

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

License

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

0.1.0

10 years ago

0.0.6

10 years ago

0.0.5

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago