Sha256: b9f97fb4fd4cc8b5535b7603bafd3e30fa95632e100dcf71d8fbdd6dd5a544e2
Contents?: true
Size: 496 Bytes
Versions: 2
Compression:
Stored size: 496 Bytes
Contents
require 'sprockets/media_query_combiner/processor' if defined?(::Rails) module Sprockets module MediaQueryCombiner class Engine < ::Rails::Engine initializer :setup_media_query_combiner, after: 'sprockets.environment', group: :all do |app| Sprockets.register_postprocessor 'text/css', Sprockets::MediaQueryCombiner::Processor Sprockets.register_bundle_processor 'text/css', Sprockets::MediaQueryCombiner::Processor end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sprockets-media_query_combiner-1.0.1 | lib/sprockets/media_query_combiner/engine.rb |
sprockets-media_query_combiner-1.0.0 | lib/sprockets/media_query_combiner/engine.rb |