build - make gulp return non-zero error code on bundle fail
This commit is contained in:
parent
afbe6f5e5f
commit
4d42cfaa25
|
@ -296,8 +296,6 @@ function bundleTask(opts) {
|
||||||
return (
|
return (
|
||||||
|
|
||||||
bundler.bundle()
|
bundler.bundle()
|
||||||
// log errors if they happen
|
|
||||||
.on('error', gutil.log.bind(gutil, 'Browserify Error'))
|
|
||||||
// convert bundle stream to gulp vinyl stream
|
// convert bundle stream to gulp vinyl stream
|
||||||
.pipe(source(opts.filename))
|
.pipe(source(opts.filename))
|
||||||
// inject variables into bundle
|
// inject variables into bundle
|
||||||
|
|
Loading…
Reference in New Issue