teppeis/gulp-dereserve — pull request #1 by twada (2014-11-25 16:37:14+00:00)
Title: Stream support

Now works with browserify bundle stream

```javascript
var dereserve = require('gulp-dereserve'),
var derequire = require('gulp-derequire');
var browserify = require('browserify');
var source = require('vinyl-source-stream');

gulp.task('build', function() {
var bundleStream = browserify({entries: './index.js', standalone: 'yourModule'}).bundle();
return bundleStream
.pipe(source('yourModule.js'))
.pipe(dereserve())
.pipe(derequire())
.pipe(gulp.dest('./build'));
});
```