when compress css files and js files,you foreach them and then getContents with Url::to( \Yii::getAlias('@web'.$fileCode), true)
It may course a bug
for example:
if my asset $fileCode is “/admin/assets/a466841a/index.css”
and my web (use \Yii::getAlias('@web')) is "/admin"
then this result will be "/admin/admin/assets/a466841a/index.css"
now, you see, you can't find this file!
I think you can replace "Url::to( \Yii::getAlias('@web'.$fileCode), true)" with "Url::to($fileCode), true)"
when compress css files and js files,you foreach them and then getContents with Url::to( \Yii::getAlias('@web'.$fileCode), true) It may course a bug
for example: if my asset $fileCode is “/admin/assets/a466841a/index.css” and my web (use \Yii::getAlias('@web')) is "/admin" then this result will be "/admin/admin/assets/a466841a/index.css" now, you see, you can't find this file!
I think you can replace "Url::to( \Yii::getAlias('@web'.$fileCode), true)" with "Url::to($fileCode), true)"