Feb 18, 2011 at 12:28 AM
Edited Feb 18, 2011 at 12:31 AM
thanks for dropping by and giving this library a go.
Assumption to my Answer:
Quote: I'm using the ItemGroups
Assumption: you're using an xml file to define all the files, how to compresses, where to, etc etc...
sure is! the ORDER of the files (listed in the xml file***) is crucial. They are handled on a first come, first server basis. So if you need to make sure that the jquery.js file is combined
first, then it needs to be listed first.
EG. (here's a sample Xml file taken from the most recent source code, at the time of this post).
but that could be too tedius for you if u have a lot of files .. and especially if u're adding and removing files as they appear. So maybe we can
leverage wildcards but remove the important ones....
I've not tried this, but it looks like it should work.
Give it a go and report back, if u don't mind :)
*** Note: the example xml file that comes with the code says:
<!-- All the files. They will be handled (I assume) in alphabetically. -->
I think this is wrong. I think it's first in, best dressed. I