use compass-import-once
This commit is contained in:
parent
f95da2a1da
commit
7ae4c4d14e
2 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
require 'sass'
|
||||
require 'compass/import-once'
|
||||
|
||||
module Middleman
|
||||
module Renderers
|
||||
|
@ -26,6 +27,8 @@ module Middleman
|
|||
# Tell Tilt to use it as well (for inline scss blocks)
|
||||
::Tilt.register 'scss', ScssPlusCSSFilenameTemplate
|
||||
::Tilt.prefer(ScssPlusCSSFilenameTemplate)
|
||||
|
||||
::Compass::ImportOnce.activate!
|
||||
end
|
||||
|
||||
alias :included :registered
|
||||
|
|
|
@ -22,6 +22,7 @@ Gem::Specification.new do |s|
|
|||
s.add_dependency("middleman-sprockets", ">= 3.1.2")
|
||||
s.add_dependency("haml", [">= 4.0.5"])
|
||||
s.add_dependency("sass", [">= 3.2.17", "< 4.0"])
|
||||
s.add_dependency("compass-import-once", ["~> 1.0.4"])
|
||||
s.add_dependency("compass", [">= 0.12.4"])
|
||||
s.add_dependency("uglifier", ["~> 2.5"])
|
||||
s.add_dependency("coffee-script", ["~> 2.2.0"])
|
||||
|
|
Loading…
Reference in a new issue