mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
continue trying to fix compass issue
This commit is contained in:
parent
79eeba9d1a
commit
cdff84b84a
1 changed files with 6 additions and 5 deletions
|
@ -34,11 +34,12 @@ module Middleman::CoreExtensions::Compass
|
|||
end
|
||||
end
|
||||
|
||||
# if build?
|
||||
# ::Compass.configuration do |config|
|
||||
# config.environment = :production
|
||||
# end
|
||||
# end
|
||||
if build?
|
||||
::Compass.configuration do |config|
|
||||
config.environment = :production
|
||||
config.project_path = File.join(root, build_dir)
|
||||
end
|
||||
end
|
||||
|
||||
run_hook :compass_config, ::Compass.configuration
|
||||
run_hook :after_compass_config
|
||||
|
|
Loading…
Reference in a new issue