added toopay's minifier

This commit is contained in:
Parziphal 2013-10-02 21:40:59 -05:00
parent 696254ac1c
commit 6a7009c614
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,8 @@
"zendframework/zend-log": "2.2.*", "zendframework/zend-log": "2.2.*",
"zendframework/zend-mail": "2.2.*", "zendframework/zend-mail": "2.2.*",
"symfony/yaml": "2.3.*", "symfony/yaml": "2.3.*",
"leafo/scssphp": "0.0.8" "leafo/scssphp": "0.0.8",
"toopay/assetic-minifier": "1.0.0"
}, },
"autoload": { "autoload": {
"psr-0": { "psr-0": {

View File

@ -169,7 +169,6 @@ $config->assets = [
*/ */
'css_extensions' => [ 'css_extensions' => [
'scss' => [ 'scss' => [
'file' => 'scss.inc.php',
'class_name' => 'scssc', 'class_name' => 'scssc',
'method' => 'compile', 'method' => 'compile',
'static' => false 'static' => false
@ -192,8 +191,8 @@ $config->assets = [
* Accepts an array like the one for extensions. * Accepts an array like the one for extensions.
*/ */
'css_compressor' => [ 'css_compressor' => [
'class_name' => 'Minify_CSS_Compressor', 'class_name' => 'Minifier\Cssmin',
'method' => 'process' 'method' => 'run'
], ],
'js_compressor' => [ 'js_compressor' => [
'class_name' => 'Rails\Assets\Parser\Javascript\ClosureApi\ClosureApi', 'class_name' => 'Rails\Assets\Parser\Javascript\ClosureApi\ClosureApi',