def resolve(path, **kargs)
      kargs[:base_path] = @dirname
      uri, deps = environment.resolve!(path, **kargs)
      @dependencies.merge(deps)
      uri
    end
def resolve(path, **kargs)
      kargs[:base_path] = @dirname
      uri, deps = environment.resolve!(path, **kargs)
      @dependencies.merge(deps)
      uri
    end
Public: Given a logical path, `resolve` will find and return an Asset URI.
 Relative paths will also be resolved. An accept type maybe given to
 restrict the search.

     resolve("foo.js")
     # => "file:///path/to/app/javascripts/foo.js?type=application/javascript"

     resolve("./bar.js")
     # => "file:///path/to/app/javascripts/bar.js?type=application/javascript"

 path   - String logical or absolute path
 accept - String content accept type

 Returns an Asset URI String.