mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
3ea2241155
Compass is great, but sometimes we need to have common framework code in one (global) location with local overrides in the app. This addition adds built-in support for loading SASS/SCSS files from multiple locations external to the "source" directory and even the Middleman app root. Example usage: # in config.rb set :sass_assets_path, [ "#{root}/assets/sass/", "~/.sass-repo/"] Using symlinks or copying files to the Middleman project can get messy quickly. This fix reduces some of those issues.
6 lines
No EOL
219 B
Ruby
6 lines
No EOL
219 B
Ruby
|
|
set :sass_assets_paths, [
|
|
"#{root}/assets/stylesheets/",
|
|
# load from another app within gem source
|
|
"#{File.dirname(File.dirname(File.dirname(File.dirname(__FILE__))))}/fixtures/preview-app/source/stylesheets/"
|
|
] |