rodgermd/compass-bundle

Compass intergration

Installs: 3 631

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

Language:CSS

Type:symfony-bundle

v1.0.12.2 2013-08-19 07:10 UTC

This package is not auto-updated.

Last update: 2024-12-21 16:38:36 UTC


README

configure image_paths in global config.yml:

parameters:
    assetic.filter.compass.images_dir: %kernel.root_dir%/../web/images
    assetic.filter.compass.http_path:  /images

configure yui_compressor:

parameters: 
    yui_compressor: /usr/share/yui-compressor/yui-compressor.jar   # path to yui compressor

configure assetic:

assetic:
    bundles: [YourBundle]  # use your bundle name to be tracked by assetic
    filters:
        compass: ~         # enables compass filter
        yui_css:
            jar: %yui_compressor%     # enables css compressor