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