Skip to content

Commit

Permalink
Add pass-through options to browserify.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesutherland committed Nov 15, 2014
1 parent d93b5a3 commit 611c827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/js-recipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* hint - boolean or object passed through to gulp-jshint
* angular - boolean or object passed through to gulp-ng-annotate
* sourcemaps - boolean (true for dev by default)
* browserify - boolean
* browserify - boolean or object passed through to browserify
*/

// Gulp deps:
Expand Down Expand Up @@ -98,7 +98,7 @@ function jsBase (src, out, dest, options, watch) {
if (watch) {
bundler = watchify(browserify(src, _.extend({
debug: options.sourcemaps
}, watchify.args)));
}, options.browserify, watchify.args)));
} else {
bundler = browserify(src, {
debug: options.sourcemaps
Expand Down

0 comments on commit 611c827

Please sign in to comment.