CodeSleeve / asset-pipeline

This Laravel 4 package provides a very simple and easy to use asset pipeline. It was heavily inspired by the Rails asset pipeline. We make use of the wonderful Assetic package to help with pre-compliation!
http://www.codesleeve.com
MIT License
491 stars 53 forks source link

CoffeeScript filter custom config #158

Closed samuelcasas closed 10 years ago

samuelcasas commented 10 years ago

Added loading custom config to the CoffeeScript parser, to use it via package configuration. Example:

...
'filters' => array(
        '.coffee' => array(
            new Codesleeve\AssetPipeline\Filters\CoffeeScript(array('bare' => true)),
            new EnvironmentFilter(new Codesleeve\AssetPipeline\Filters\JSMinPlusFilter, App::environment()),
        )
...
samuelcasas commented 10 years ago

Ready to go :)