title: How to ignore libraries in browserify programmatic api
body: <p>Assume the below code is found in <code>bundler.js</code> and tracing <code>entry.js</code> leads to <code>var B = require('backbone');</code> (Backbone is a dependency installed as declared in <code>package.json</code>).</p>
  
  <pre><code>var browserify = require('browserify');
  var bundle = new browserify();
  bundle.add('entry.js');
  bundle.bundle({
    noParse: ['backbone']
  });
  </code></pre>
  
  <p>Executing this bundler yields a stream that contains the original <code>backbone</code> source.  Based on browserify's <a href="https://github.com/substack/node-browserify/wiki#usage" rel="noreferrer">command line options</a> I expected it to skip backbone alltogether. Reading through the source, I expected perhaps the following would work:</p>
  
  <pre><code>var browserify = require('browserify');
  var bundle = new browserify({
      noParse: ['backbone']
  });
  bundle.add('entry.js');
  bundle.bundle();
  </code></pre>
  
  <p>Though <code>backbone</code> source still appears in the stream output.</p>
  
  <p>Is it possible to use <code>--noparse=FILE</code> as a configuration option in this application of the api?</p>