Spea / SpBowerBundle

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

Option to skip dumping of individual assets? #87

Closed dmzkrsk closed 9 years ago

dmzkrsk commented 10 years ago

I use SpBowerBundle and Twig tags to combine all my external .js libraries into one big juicy file.

However, assetic:dump also dumps individual files like jquery_js.js, since SpBowerBundle registers all those files (and I use @jquery_js references in twig templates)

Is there an option to dump only assets defined in twig templates?

Spea commented 10 years ago

No, currently not. The assets are registered before any template is parsed. But I'm curious if this is a huge deal breaker for you, since it is only a single file?