gulp-stylestats
3.1.0 • Public • Published
Gulp plugin for StyleStats.
Install
Install via npm:
npm install gulp-stylestats --save-dev
Usage
This is gulpfile.js
sample.
const gulp = require('gulp');
const stylestats = require('gulp-stylestats');
gulp.task('stylestats', function () {
gulp.src('./fixtures/*.css')
.pipe(stylestats({
}));
});
gulp.task('default', ['stylestats']);
Output StyleStats data (sample: JSON format).
const gulp = require('gulp');
const stylestats = require('gulp-stylestats');
gulp.task('stylestats', function () {
gulp.src('./fixtures/*.css')
.pipe(stylestats({
type: 'json',
outfile: true
}))
.pipe(gulp.dest('./stats/'));
});
gulp.task('default', ['stylestats']);
License
MIT © Shogo Sensui
Package Sidebar
Install
Weekly Downloads