Skip to content

Instantly share code, notes, and snippets.

@dunglas
Last active December 10, 2015 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dunglas/4397831 to your computer and use it in GitHub Desktop.
Save dunglas/4397831 to your computer and use it in GitHub Desktop.
Symfony's Assetic configuration to compile CoffeeScript files.
# Assetic Configuration
assetic:
debug: %kernel.debug%
use_controller: false
bundles: [ DunglasChaplinDemoBundle ]
# java: /usr/bin/java
filters:
cssrewrite: ~
coffee:
bin: %coffee_path%
node: %node_path%
bare: true
apply_to: "\.coffee$"
closure:
jar: "%kernel.root_dir%/Resources/java/compiler.jar"
yui_css:
jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment