rmrevin/yii2-minify-view

How to use this in development environment?

albertborsos opened this issue · 2 comments

First, thank you for this awesome extension.

It works like a charm, but i can't use this in development environment, when I don't want to minify the stylesheets and javascripts.

I can't overwrite the view component's settings in the main-local.php because your View class has extra attributes.

I think it would be great to have an extra attribute like 'disable' => true

Or if you have an existing solution for development environments please share with us! Thank you!

Thank you for that use this extension.
Alternatively it can be implemented through DI container.
But I will add this option in the next version.
Thank U.

Fixed.