Module: Middleman3::SassC

Defined in:
lib/middleman3-sassc/version.rb,
lib/middleman3-sassc/extension.rb,
lib/middleman3-sassc/monkey-patches.rb

Defined Under Namespace

Classes: Extension

Constant Summary collapse

VERSION =
'0.0.1'

Class Method Summary collapse

Class Method Details

.create_sassc_options(environment, context) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/middleman3-sassc/monkey-patches.rb', line 6

def self.create_sassc_options(environment, context)
  {
    load_paths: environment.paths,
    importer: ::SassC::Rails::Importer,
    sprockets: {
      context: context,
      environment: environment
    }
  }
end