Spea / SpBowerBundle

Symfony2 Bundle to handle asset dependencies with bower
231 stars 44 forks source link

Avoid including some files #117

Closed mmontone closed 9 years ago

mmontone commented 9 years ago

Is it possible to avoid including some of the CSS, and JS files in the bower package?

For instance, when doing this:

{% javascripts "@jquery_file_upload_js" %}

{% endjavascripts %}

I don't want some of the js files from the package to be included. Is that possible?

Spea commented 9 years ago

No, currently you can only exclude all js-files or include all (see https://github.com/Spea/SpBowerBundle/blob/master/Resources/doc/nested_dependencies.md)