Spea / SpBowerBundle

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

Register nested dependencies #107

Open albertemozo opened 9 years ago

albertemozo commented 9 years ago

Is there a way to automatically register nested dependencies?

I mean: if we are using nest_dependencies: false, component dependencies are installed but not merged into compiled assets. As nested dependencies are not automatically registered as Assetic assets, there is no "clean" way to include them.

I am currently workarounding this issue by including nested dependencies as standard bundle dependencies. Is there any recommended way to face this issue or plan to change this behaviour?

Spea commented 9 years ago

There is currently no way to include this dependencies, but you are right, it might be a good idea to allow this. I'm not yet sure how to implement this, since you can have a dependency on jquery in some package but also included jquery by yourself.