Store the compiler importer in the Sass options so sass doesn't make one.

This commit is contained in:
Chris Eppstein 2011-04-20 19:27:11 -07:00
parent 4c814f97dd
commit 134160885c

View File

@ -12,7 +12,8 @@ module Compass
self.options = options self.options = options
self.options[:cache_location] ||= determine_cache_location self.options[:cache_location] ||= determine_cache_location
Compass.configure_sass_plugin! Compass.configure_sass_plugin!
self.importer = Sass::Importers::Filesystem.new(from)
self.options[:importer] = self.importer = Sass::Importers::Filesystem.new(from)
self.staleness_checker = Sass::Plugin::StalenessChecker.new(options) self.staleness_checker = Sass::Plugin::StalenessChecker.new(options)
end end