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-mail": "2.2.*",
"symfony/yaml": "2.3.*",
"leafo/scssphp": "0.0.8"
"leafo/scssphp": "0.0.8",
"toopay/assetic-minifier": "1.0.0"
},
"autoload": {
"psr-0": {

View File

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