Mutliple files

Feb 2, 2011 at 12:39 AM

Great tool! And it would be nice to introduce these features:

1. Allow running minifier on set of JS files

2. Allow user to specify new names for special identifiers

3. Allow disabling crunching identifier if it is started with special symbol(s), that can be set by the user.

Feb 2, 2011 at 4:31 PM


For the set-of-files part, you can. If you create an XML file with a specific schema (run "ajaxmin -?" for more info) you can have a single run of AjaxMin work on any number of input and output files.

The other two are excellent suggestions. I've been thinkng about variations on the last one for a while now, going both ways: disabling crunching and enabling crunching on variables that would otherwise not be crunched (like globals that really aren't used outside the assembly). This functionality will probably be included in a version of the tool in the not-so-distant future.

Thanks again! -r