Nanoseconds Produce Minutes
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    @thasmo/gulp-modernizrpublic

    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

    install

    npm i @thasmo/gulp-modernizr

    Downloadsweekly downloads

    1

    version

    0.1.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar