@thasmo/gulp-modernizr
v0.1.0
Published
Gulp plugin to generate a custom Modernizr build.
Downloads
23
Maintainers
Readme
Gulp Modernizr
Usage
var gulp = require('gulp');
var modernizr = require('@thasmo/gulp-modernizr');
var options = {
'classPrefix': 'has-',
'options': [
'setClasses'
],
'feature-detects': []
};
gulp.task('scripts', function() {
return gulp.src('*.js')
.pipe(modernizr(options))
.pipe(gulp.dest('.'))
});
Options
See Modernizr's build options.