modulizr-gulp

0.0.2 • Public • Published

modulizr-gulp

Simple modulizr builds for gulp.

Usage

var gulp     = require('gulp');
var modulizr = require('modulizr-gulp');
var opts     = modulizr.all;
 
opts.filename = 'modernizr.js';
 
gulp.task('modulizr', function() {
  return modulizr(opts)
   .pipe(gulp.dest('out/'));
});

Options

Any options passed to modulizr-gulp will be passed as build configuration options to modernizr.build.

Check src/modulizr.json for all available options. These options are also available as the all property on modulizr-gulp.

opts.filename

This option defines the filename the eventual build file will have, defaults to modernizr.js.

License

This code is licensed under the ISC license

Readme

Keywords

Package Sidebar

Install

npm i modulizr-gulp

Weekly Downloads

5

Version

0.0.2

License

ISC

Last publish

Collaborators

  • romeovs