jekyll-assets
jekyll-assets copied to clipboard
Using existing gem for sprocklets (sprockets-media_query_combiner)
How can I use sprockets-media_query_combiner with jekyll-assets
Information from (https://github.com/aaronjensen/sprockets-media_query_combiner):
If you're using Sprockets on its own you'll need to register the bundle processor:
register_bundle_processor 'text/css', Sprockets::MediaQueryCombiner::Processor
Does this require a custom plugin to register the bundle processor?
I don’t restrict what you do with sprockets. You’ll need a Jekyll plug-in in the form of an rb file in _plugins that Jekyll loads... but apart from that there is nothing special going on with our Sprockets handling.
@bert-bruggeman Did you figure out how to do this?