title: browserify - exclude code blocks?
body: <p>I'm building an app with shared React components in the browser and server-side Node.</p>
  
  <p>Right now, I'm using Marty.js to do this:</p>
  
  <pre><code>function getUser() {
      if (Marty.isBrowser) {
          /* Get user using some client method */  
      } else {
          /* otherwise, use some secret server code */
      }
  }
  </code></pre>
  
  <p>I'm bundling those functions up via Browserify, so they can run on the client as well as the server.</p>
  
  <p>What I'd like to do is remove the <code>else</code> block from the bundle entirely, so I'm not leaking sensitive server-side code.</p>
  
  <p>Is there a way to exclude blocks of code from the bundle?</p>