lib/condenser/transformers/sass_transformer/importer.rb in condenser-0.0.10 vs lib/condenser/transformers/sass_transformer/importer.rb in condenser-0.0.11
- old
+ new
@@ -4,10 +4,10 @@
def imports(name, base)
name = expand_path(name, base)
env = options[:condenser][:environment]
accept = extensions.keys.map { |x| options[:condenser][:environment].extensions[x] }
- options[:asset][:dependencies] << [name, accept.map{ |i| [i] }]
+ options[:asset][:process_dependencies] << [name, accept.map{ |i| [i] }]
imports = []
env.resolve(name, accept: accept).sort_by(&:filename).each do |asset|
next if asset.filename == options[:filename]
imports << Import.new(asset.filename, source: asset.source, source_map_path: nil)
\ No newline at end of file