Skip to content

fragje/gulp-modulizr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build custom Modernizr with gulp

gulp-modulizr is a Modernizr builder for your project. It is based on the Modernizr team's Modulizr tool.

Usage

gulp.task("custom-modernizr", function() {
    return gulp.src("bower_components/modernizr/modernizr.js")
        .pipe(require("gulp-modulizr")([
            "cssclasses",
            "svg",
            "url-data-uri"
        ]))
        .pipe(require("gulp-add-src")([
            "bower_components/modernizr/feature-detects/url-data-uri.js"
        ]))
        .pipe(require("gulp-concat")("custom-modernizr.js"))
        .pipe(gulp.dest("public/assets"));
});

About

Build custom Modernizr with gulp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published