Gulp plugin to inline CSS in HTML files using Automattic's Juice.
var gulp = require('gulp'),
var juice = require('@thasmo/gulp-juice');
gulp.task('juice', function() {
return gulp.src('*.html')
.pipe(juice())
.pipe(gulp.dest('.'))
});
See Juice's options.