skeeks-semenov / yii2-assets-auto-compress

Automatic compilation of js + css + html
https://skeeks.com/
BSD 3-Clause "New" or "Revised" License
157 stars 43 forks source link

missing cssOptions #29

Closed tsanchev closed 7 years ago

tsanchev commented 7 years ago

I'm trying to pass

'cssOptions' => ['media' => 'none', 'onload' => 'media=\'all\'']

for the compressed css file but i'm unable to do that

so i would get

<link href="/marelin/public_html/assets/css-compress/01f2afb3b58a1c5381de41bcb1d365b8.css?v=1487767908" rel="stylesheet"  media="none" onload="media=&#039;all&#039;">

instead of

<link href="/marelin/public_html/assets/css-compress/01f2afb3b58a1c5381de41bcb1d365b8.css?v=1487767908" rel="stylesheet">
skeeks-semenov commented 7 years ago

@tsanchev https://github.com/skeeks-semenov/yii2-assets-auto-compress/pull/30