gulp-browserify-globs
Gulp + Browserify + Globs in the right way.
It's just a small package implementing the browserify-with-globs recipe in the official gulp doc.
Install
$ npm install --save-dev gulp-browserify-globs
Usage
browserify(glob, options)
var gulp = ;var browserify = ;var reactify = ; gulp;
glob
Type: String
or Array<String>
A file or glob pattern to browserify.
Options
Type: Object
An object containing plugin and Browserify options. Available options include
the options for browserify
and the followings:
outfile
Type: String
Default: 'bundle.js'
An output file name.
uglify
Type: Boolean
or Object
Default: false
When set, uglify the bundled result using gulp-uglify.
When it's an object, pass it to uglify()
.
License
MIT @ Jun