/middleman-critical

A middleman extension for generating critical path css

Primary LanguageRuby

Middleman-Critical

Middleman extension to generate critical-path css using critical

Dependencies

The critical binary must be available on the system.

Usage

# Gemfile

gem "middleman-critical", "~>0.0.2"

bundle install

# config.rb

configure :build do
  activate :critical, :binary => '/usr/local/bin/critical'  # binary defaults to 'critical'