Skip to content
This repository was archived by the owner on Mar 28, 2018. It is now read-only.

Update README.md #6

Merged
merged 3 commits into from
May 18, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update README.md
reformat
  • Loading branch information
Grawl committed May 18, 2015
commit 5ed3811b9dbeb35706aa0324b174fa16c7978ded
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,20 @@ var output = postcss([
### Usage with Gulp.js

```js
gulp.task('cssstats', function(){
gulp.task('cssstats', function() {
var cssstats = require('postcss-cssstats');
var postcss = require('gulp-postcss');
return gulp
.src('/path/to/file.css')
.src('app/_design/less/index.css')
.pipe(
postcss([
cssstats(
function(stats) {
console.log(stats);
})
])
);
console.log(stats);
}
)
])
);
});
```

Expand Down