Last day I was in process of updating Angular
library in my project from 1.0.7
to 1.2.6
, to do this, I updated my yeoman
generator and generated application again.
After this, I started browsing generated files to get hang of the changes and I noticed something new in index.html
file.
<!-- build:js scripts/vendor.js -->
<!-- bower:js -->
<script src="bower_components/jquery/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
<script src="bower_components/angular-resource/angular-resource.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>
<!-- endbower -->
<!-- endbuild -->
I know that <!-- build:js scripts/vendor.js -->
and <!-- endbuild -->
comments are used by grunt-usemin
task, but what is the purpose of <!-- bower:js -->
and <!-- endbower -->
? I can't find any mention of it in bower
documentation posted on main page.