title: Multiple exports with browserify-shim
body: <p>Let's say i have a js file like this</p>
  
  <pre><code>function a() {
      //...
  }
  function b() {
      //...
  }
  </code></pre>
  
  <p>I want to bundle it up with browserify-shim and export both a and b. Is there a way to do so?</p>
  
  <p><strong>EDIT.</strong> Well it looks like it is not possible. In my case i solved issue with <a href="https://github.com/substack/node-browserify#btransformtr-opts" rel="nofollow">browserify.transform</a>. Here's what i had in my gulpfile:</p>
  
  <pre><code>//...
  .transform(function(f){
    if(/** check filename **/) {
      return through(
        function(data){this.queue(data + ";var c = {a:a, b:b};");},
        function(){this.queue(null);}
      );
    }
    return through();
  })
  //...
  </code></pre>
  
  <p>and then in browserify-shim config i export this c variable.</p>