code: function resolvePath (fileName, depth=2) {
  	if (!isBrowser && isRelative(fileName) && !isURL(fileName)) {
  		var callerPath = callsites()[depth].getFileName()
  		fileName = path.dirname(callerPath) + path.sep + fileName
  		fileName = path.normalize(fileName)
  	}
  
  	return fileName
  }
docs: path resolver taking in account file structure