module Sprockets::Resolve

def resolve!(path, **kargs)

nil if no assets are found.
Public: Same as resolve() but raises a FileNotFound exception instead of
def resolve!(path, **kargs)
  uri, deps = resolve(path, **kargs)
  unless uri
    message = +"couldn't find file '#{path}'"
    if relative_path?(path) && kargs[:base_path]
      load_path, _ = paths_split(config[:paths], kargs[:base_path])
      message << " under '#{load_path}'"
    end
    message << " with type '#{kargs[:accept]}'" if kargs[:accept]
    load_paths = kargs[:load_paths] || config[:paths]
    message << "\nChecked in these paths: \n  #{ load_paths.join("\n  ") }"
    raise FileNotFound, message
  end
  return uri, deps
end