Sha256: 38e8965702d8e8322043cb786d668fa9933a941be48b889194a232eabedd7165
Contents?: true
Size: 463 Bytes
Versions: 45
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true module AutoprefixerRails class Sprockets singleton_class.send(:alias_method, :call_original, :call) def self.call(input) filename = input[:name] # Disable autoprefixer for the graphiql-rails gem's assets because it # breaks some of the API tests when the '-webkit' prefixes are applied to # its CSS. return if filename.match?(%r{^graphiql/.*}) call_original(input) end end end
Version data entries
45 entries across 45 versions & 2 rubygems