class Sass::Render
def importers
5. Each load path specified in the SASS_PATH environment variable, which should
4. Each load path in includePaths
3. Loading a file relative to the current working directory.
2. Each custom importer.
1. Loading a file relative to the file in which the @use or @import appeared.
Order
def importers custom_importers = @importer.map.with_index do |_, id| EmbeddedProtocol::InboundMessage::CompileRequest::Importer.new( importer_id: id ) end include_path_importers = @include_paths .concat(Sass.include_paths) .map do |include_path| EmbeddedProtocol::InboundMessage::CompileRequest::Importer.new( path: File.absolute_path(include_path) ) end custom_importers.concat include_path_importers end