class Importmap::Map

def module_name_from(filename, mapping)

def module_name_from(filename, mapping)
  [ mapping.under, filename.to_s.remove(filename.extname).remove(/\/?index$/).presence ].compact.join("/")
end