added toopay's minifier
This commit is contained in:
parent
696254ac1c
commit
6a7009c614
@ -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": {
|
||||
|
@ -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',
|
||||
|
Reference in New Issue
Block a user