title: Ignore module with browserify in gulp
body: <p>since gulp-browserify module is blacklisted I`ve tried to rewrite my old code in gulpfile.js without gulp-browserify.</p>
  
  <p>I have this worked task with gulp-browserify</p>
  
  <pre><code>var gulp = require('gulp'),
      browserify = require('gulp-browserify');
  
  gulp.task('browserify', function() {
      return gulp.src('./lib/tssoft.commons.js')
          .pipe(browserify({
              ignore: ['jsdom']
          }))
          .pipe(gulp.dest('./dist/'))
  });
  </code></pre>
  
  <p>as you see I tell gulp-browserify to ignore require('jsdom') in browserifying.</p>
  
  <p>After gulp-browserify was uninstalled I instal browserify module and rewrite code</p>
  
  <pre><code>var gulp = require('gulp'),
      browserify = require('browserify');
  
  gulp.task('browserify', function() {
      var b = browserify();
      b.ignore('jsdom');
      b.add('./lib/tssoft.commons.js');
      return b.bundle()
          .pipe(gulp.dest('./dist/'));
  });
  </code></pre>
  
  <p>And get this error: "Arguments to path.resolve must be strings".</p>