Class: AutoprefixerRails::Sprockets
- Inherits:
-
Object
- Object
- AutoprefixerRails::Sprockets
- Defined in:
- lib/generators/decidim/templates/autoprefixer_initializer.rb
Class Method Summary collapse
Class Method Details
.call(input) ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/generators/decidim/templates/autoprefixer_initializer.rb', line 7 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 |