Sha256: 1b8f974c78b90b248590fb5ed9ba97e62374706a62e5381fa8df801e10eecc70

Contents?: true

Size: 326 Bytes

Versions: 2

Compression:

Stored size: 326 Bytes

Contents

require "sass"
require "bard/sass/version"

module Bard
  module Sass
    SASS_PATH = File.expand_path("../../sass", __dir__)

    if defined?(Rails) && defined?(Rails::Engine)
      class Engine < Rails::Engine
        config.assets.paths << SASS_PATH
      end
    else
      Sass.load_paths << SASS_PATH
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bard-sass-0.2.1 lib/bard/sass.rb
bard-sass-0.2.0 lib/bard/sass.rb