Sha256: 396600fc5cd4100afbc6587c435443f610d3233948422906ae348ad7d7651b89

Contents?: true

Size: 610 Bytes

Versions: 2

Compression:

Stored size: 610 Bytes

Contents

# frozen_string_literal: true
require_relative '../v3/sass_template'
module Sprockets
  module Sass
    module V4
      # Preprocessor for SASS files
      class SassTemplate < Sprockets::Sass::V3::SassTemplate
        # This is removed
        # def self.default_mime_type
        #   "text/#{syntax}"
        # end
        #
        def self.syntax
          :sass
        end

        def custom_cache_store(*args)
          Sprockets::Sass::V4::CacheStore.new(*args)
        end

        def custom_importer_class(*_args)
          Sprockets::Sass::V4::Importer.new
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprockets-sass-2.0.0.beta2 lib/sprockets/sass/v4/sass_template.rb
sprockets-sass-2.0.0.beta1 lib/sprockets/sass/v4/sass_template.rb