Skip to content

Commit

Permalink
update multiple require option example.
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed Jan 29, 2014
1 parent f615770 commit f7fab6c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,25 @@ gulp.task('compass', function() {
});
```

Support multiple require option

```javascript
var compass = require('gulp-compass'),
minifyCSS = require('gulp-minify-css');

gulp.task('compass', function() {
gulp.src('./src/*.scss')
.pipe(compass({
css: 'app/assets/css',
sass: 'app/assets/sass',
image: 'app/assets/images',
require: ['susy', 'modular-scale']
}))
.pipe(minifyCSS())
.pipe(gulp.dest('app/assets/temp'));
});
```

## Configuration

### Configuration Options
Expand Down Expand Up @@ -150,6 +169,8 @@ One of: nested, expanded, compact, or compressed.

**default:** false

**format:** ``string`` or ``array``

**description:** Require the given Ruby library before running commands. This is used to access Compass plugins without having a project configuration file.

## Running tests
Expand Down

0 comments on commit f7fab6c

Please sign in to comment.