Sha256: e754add5a419c1da76c47d5f57394f37014e3f8668abbc2d5766255a1c52dfc1

Contents?: true

Size: 209 Bytes

Versions: 119

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

require "sassc"

class SasscImporter < SassC::Importer
  def imports(path, _parent_path)
    unless path.match?(/(css|scss)$/)
      Import.new("#{path}.scss")
    end
  end
end

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
isodoc-1.8.2 lib/isodoc/sassc_importer.rb
isodoc-1.8.1 lib/isodoc/sassc_importer.rb
isodoc-1.8.0 lib/isodoc/sassc_importer.rb
isodoc-1.7.7 lib/isodoc/sassc_importer.rb
isodoc-1.7.6.1 lib/isodoc/sassc_importer.rb
isodoc-1.7.6 lib/isodoc/sassc_importer.rb
isodoc-1.7.5 lib/isodoc/sassc_importer.rb
isodoc-1.7.4 lib/isodoc/sassc_importer.rb
isodoc-1.7.3.1 lib/isodoc/sassc_importer.rb
isodoc-1.7.3 lib/isodoc/sassc_importer.rb
isodoc-1.7.2 lib/isodoc/sassc_importer.rb
isodoc-1.7.1 lib/isodoc/sassc_importer.rb
isodoc-1.7.0 lib/isodoc/sassc_importer.rb
isodoc-1.6.7.1 lib/isodoc/sassc_importer.rb
isodoc-1.6.7 lib/isodoc/sassc_importer.rb
isodoc-1.6.6 lib/isodoc/sassc_importer.rb
isodoc-1.6.5 lib/isodoc/sassc_importer.rb
isodoc-1.6.4 lib/isodoc/sassc_importer.rb
isodoc-1.6.3 lib/isodoc/sassc_importer.rb