Last active
March 8, 2017 22:46
-
-
Save KasperAndersson/87a9770ed36890d88644066a28421e49 to your computer and use it in GitHub Desktop.
gulp modernizr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var modernizr = require('gulp-modernizr'); | |
gulp.task('modernizr', function() { | |
return gulp.src(['js/**/*.js', 'scss/**/*.scss']) | |
.pipe(modernizr({ | |
'cache': true, | |
'options': [ | |
'setClasses' | |
] | |
})) | |
.pipe(gulp.dest('build')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment