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

Commit 18faed0

Browse files
committed
Merge pull request #6 from Grawl/patch-1
Update README.md
2 parents 2809718 + c02bc17 commit 18faed0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,26 @@ var output = postcss([
2525
]).process(css);
2626
```
2727

28+
### Usage with Gulp.js
29+
30+
```js
31+
gulp.task('cssstats', function() {
32+
var cssstats = require('postcss-cssstats');
33+
var postcss = require('gulp-postcss');
34+
return gulp
35+
.src('app/_design/less/index.css')
36+
.pipe(
37+
postcss([
38+
cssstats(
39+
function(stats) {
40+
console.log(stats);
41+
}
42+
)
43+
])
44+
);
45+
});
46+
```
47+
2848
## License
2949

3050
MIT

0 commit comments

Comments
 (0)