module Sprockets::URIUtils

def build_file_digest_uri(path)

Returns String URI.

path - String file path

# => "file-digest:/tmp/js/application.js"
build("/tmp/js/application.js")

Examples

Internal: Build file-digest dependency URI.
def build_file_digest_uri(path)
  join_file_uri('file-digest'.freeze, nil, path, nil)
end