I'm building an application which require few front-end lib/frameworks such as:
- jQuery
- JQueryUI
- AngularJS
- Foundation
I'm using bower
to download the components. At this moment my HTML looks like:
<script src="components/jquery/jquery.js"></script>
<script src="components/angular/angular.js"></script>
<script src="components/etc/etc.js"></script>
My goal is to make a grunt
script which automatically takes the installed components, concat and minify them and output them as lib.js
.
Questions:
With all my researches I figure out how to concat all files from a directory. My goal here is to get the bower components and concat them without listing them one by one in the gruntfile. How I can archieve this?
Also Is it possible to make a custom jQuery UI build with just the modules I want instead of having the entire UI.
Thanks.
See Question&Answers more detail:os