Minor SassC load_paths fix
This commit is contained in:
parent
7b3f5384e9
commit
2178a755e2
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ module Middleman
|
||||||
def initialize(app, options={}, &block)
|
def initialize(app, options={}, &block)
|
||||||
super
|
super
|
||||||
|
|
||||||
logger.info "== Prefering use of LibSass" if defined?(::SassC)
|
logger.info "== Preferring use of LibSass" if defined?(::SassC)
|
||||||
|
|
||||||
app.files.ignore :sass_cache, :source, /(^|\/)\.sass-cache\//
|
app.files.ignore :sass_cache, :source, /(^|\/)\.sass-cache\//
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ module Middleman
|
||||||
ctx = @context
|
ctx = @context
|
||||||
|
|
||||||
more_opts = {
|
more_opts = {
|
||||||
load_paths: ctx.config[:sass_assets_paths],
|
load_paths: ::Sass.load_paths | ctx.config[:sass_assets_paths],
|
||||||
filename: eval_file,
|
filename: eval_file,
|
||||||
line: line,
|
line: line,
|
||||||
syntax: syntax,
|
syntax: syntax,
|
||||||
|
|
Loading…
Reference in a new issue