build - make gulp return non-zero error code on bundle fail

This commit is contained in:
kumavis 2017-04-25 14:04:51 -07:00
parent afbe6f5e5f
commit 4d42cfaa25
1 changed files with 0 additions and 2 deletions

View File

@ -296,8 +296,6 @@ function bundleTask(opts) {
return (
bundler.bundle()
// log errors if they happen
.on('error', gutil.log.bind(gutil, 'Browserify Error'))
// convert bundle stream to gulp vinyl stream
.pipe(source(opts.filename))
// inject variables into bundle