code: function requireJSPath(file, extension) {
  	return path.join(path.dirname(file), path.basename(file, extension)).replace(/\\/g, '/');
  }
docs: Get RequireJS path to the given file
  
  @param {String} file
  @param {String} [extension]
  @returns {string}
  @private