Can I bundle a bundle of all javascript .js files?

On jsp page am including js bundles. And I need all of these bundles (.js files). Can I create a bundle of bundles in Jawr so that i can add single line? or should I create new bundle hand-picking all the .js files and group them in a new bundle?

bundle 1:-

jawr.js.bundle.global.id=/js/bundle/global.js
jawr.js.bundle.global.mappings=\
/js/underscore.js,\
/js/home.js,\
/js/home/util.js,\
/js/home/fb.js

bundle 2:-

jawr.js.bundle.reqPath.id=/js/bundle/reqPath.js
jawr.js.bundle.reqPath.mappings=\
/js/duplicateCheck.js,\
/js/jQuery/jquery.dimensions.pack.js

so on.. having 15 bundles. I need 8 of these bundles (about 22 js files). Just curious if I can write one bundle of bundles and write one single line include in jsp pages.

Answers


Have you tried creating all-inclusive bundles (assuming all your js sits on a parent folder), eg:

jawr.js.bundle.everything.id=/bundles/everything.js
jawr.js.bundle.everything.mappings=/js/**

Need Your Help

LazyLoader delay not working

jquery lazy-loading

I'm using LazyLoader plugin.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.