code: function resolvePath(moduleMeta, options) {
    var parentPath = getParentPath(moduleMeta, options);
  
    var filePath = path.resolve(path.dirname(options.baseUrl), moduleMeta.name);
    if (fs.existsSync(filePath)) {
      return Promise.resolve(filePath);
    }
  
    return new Promise(function(resolve, reject) {
      browserResolve(moduleMeta.name, {filename: parentPath}, function(err, path) {
        if (err) {
          reject(err);
        }
        else {
          resolve(path);
        }
      });
    });
  }
docs: Figures out the path for the moduleMeta so that the module file can be loaded from storage.
  
  We use browser-resolve to do the heavy lifting for us, so all this module is really doing
  is wrapping browser-resolve so that it can be used by bit loader in a convenient way.