title: Browserify + Grunt + Remapify: Cannot Find Module
body: <p>I've read all the docs and several <a href="https://stackoverflow.com/a/23599580/723007">solutions</a> here, but I can't seem to get Remapify configured properly in my Grunt-Browserify config.</p>
  
  <p>Here are two few variations I've tried, both resulting in the error "Cannot find module..."</p>
  
  <pre><code>browserify: {
  
    options: {
      preBundleCB: function (b) {
        b.plugin(remapify, [{
          cwd: './dev/js/modules',
          src: './**/*.js',
          expose: 'modules'
        }]);
      }
    }
  }
  
  
  browserify: {
  
    options: {
      preBundleCB: function (b) {
        b.plugin(remapify, [{
          cwd: __dirname,
          src: '.dev/js/modules/**/*.js',
          expose: 'modules'
        }]);
      }
    }
  }
  </code></pre>
  
  <p>Does anyone see what I'm doing wrong?</p>