lib/bard/sass.rb in bard-sass-0.2.1 vs lib/bard/sass.rb in bard-sass-0.3.0
- old
+ new
@@ -1,17 +1,12 @@
-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
+ config.assets.paths << File.expand_path("../../sass", __dir__)
end
- else
- Sass.load_paths << SASS_PATH
end
end
end