Commit b7be79b5 by Paul Klimov

AssetController default 'cssCompressor' value changed to enforce type css.

parent b6eba658
...@@ -80,7 +80,7 @@ class AssetController extends Controller ...@@ -80,7 +80,7 @@ class AssetController extends Controller
* Default value relies on usage of "YUI Compressor" * Default value relies on usage of "YUI Compressor"
* @see https://github.com/yui/yuicompressor/ * @see https://github.com/yui/yuicompressor/
*/ */
public $cssCompressor = 'java -jar yuicompressor.jar {from} -o {to}'; public $cssCompressor = 'java -jar yuicompressor.jar -o --type css {from} {to}';
/** /**
* @var array|\yii\web\AssetManager [[yii\web\AssetManager]] instance or its array configuration, which will be used * @var array|\yii\web\AssetManager [[yii\web\AssetManager]] instance or its array configuration, which will be used
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment