|
|
@ -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
|
|
|
|