rmrevin / yii2-minify-view

Yii2 View component with minification css & js
MIT License
191 stars 67 forks source link

excludeBundles doesn't work #47

Closed infoitservit closed 7 years ago

infoitservit commented 7 years ago

Using your plugin i found that another extension, Dosamigos/Leaflet, doesn't work properly (leaflet.js has a bug that came out only when itd minified). I tried to exclude the bundle asset but it doesn't work. I do it like this in the config file:

'excludeBundles' => [ \dosamigos\leaflet\LeafLetAsset::class, ],

Am i using it wrong?

rmrevin commented 7 years ago

Fixed in version 1.14.1. Thanks for issue.

farram commented 7 years ago

I also have the same problem. Version : 1.14.2 Conf : 'ExcludeBundles' => [ 'App\assets\PortfolioAsset', ],

rmrevin commented 7 years ago

@farram Unfortunately, I do not have psychic abilities. I can not determine what the error without access to the code. You have to find the cause of the error and tell me about it, so I corrected it. Either create a demo git repository, which is reproduced your problem.