module Sprockets::Resolve
def resolve_alts_under_path(load_path, logical_name, mime_exts)
def resolve_alts_under_path(load_path, logical_name, mime_exts) filenames, deps = self.resolve_alternates(load_path, logical_name) filenames.map! do |fn| _, mime_type = PathUtils.match_path_extname(fn, mime_exts) { filename: fn, type: mime_type } end return filenames, deps end