findResourceId = (moduleId) => {
  const found = LAVAMOAT.idmap.find(([, moduleIds]) =>
    moduleIds.includes(moduleId)
  )
  if (found) {
    return found[0]
  }
}
Finds the resource ID for a given module ID.

@param {string} moduleId
@returns {string | undefined}