Skip to content

Instantly share code, notes, and snippets.

@havramar
Created February 11, 2015 08:18
Show Gist options
  • Save havramar/18e9e7c38a36892fa1dd to your computer and use it in GitHub Desktop.
Save havramar/18e9e7c38a36892fa1dd to your computer and use it in GitHub Desktop.
Compass configuration in Symfony2 app as a filter.
assetic:
# When enabling compass, don't forget to add to parameters.yml:
# assetic.filter.compass.images_dir: %kernel.root_dir%/../web
# assetic.filter.compass.http_path: /
compass:
bin: /usr/local/bin/compass
apply_to: "\.scss$"
load_paths:
- %kernel.root_dir%/../assets/scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment