@thasmo/gulp-modernizr
Gulp plugin to generate a custom Modernizr build.
Last updated 5 years ago by thasmo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @thasmo/gulp-modernizr 
SYNC missed versions from official npm registry.

Gulp Modernizr

Gulp plugin to generate a custom Modernizr build.

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.

License

MIT License

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

1 Versions

  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |