SpBowerBundle
SpBowerBundle copied to clipboard
Include dependent assets
In my bower.json I have dependency on {"fundation": "zurb/bower-foundation#~5.3.3"} package. I then include this bower package using:
{% javascripts "@foundation_js" %}<script src="{{ asset_url }}"></script>{% endjavascripts %}
However, I get an error message on front-end saying that jQuery is not defined. This is because it only includes Zurb Foundation main js file and not its dependencies, i.e. jQuery in this case.
I think it would be great if dependencies were resolved automatically.