class Sprockets::Rails::SourcemappingUrlProcessor
def call(input)
Experimental RBS support (using type sampling data from the type_fusion
project).
def call: (Hash input) -> untyped
This signature was generated using 1 sample from 1 application.
def call(input) env = input[:environment] context = env.context_class.new(input) data = input[:data].gsub(REGEX) do |_match| sourcemap_logical_path = combine_sourcemap_logical_path(sourcefile: input[:name], sourcemap: $1) begin resolved_sourcemap_comment(sourcemap_logical_path, context: context) rescue Sprockets::FileNotFound removed_sourcemap_comment(sourcemap_logical_path, filename: input[:filename], env: env) end end { data: data } end