JavaScript-Minifier-XS reviews

cpanratings
 

RSS | Module Info | Add a review of JavaScript-Minifier-XS

JavaScript-Minifier-XS (0.06) *****

JavaScript::Minifier::XS minified JS that was breaking with JavaScript::Packer (jQuery Cycle, if you're interested). I've had no issue with this minifier whatsoever. Highly recommended.

JavaScript-Minifier-XS (0.05) *****

Simple to use. Preserves copyright comments.

Very fast. Fast enough for on-the-fly minification in CGI scripts.

Installed and used this minifier with Perl 5.8.7 and 5.8.8 on Win32, Linux, and Solaris. All was good under Linux and Solaris. Win32 (VC6) was a challenge because make kept throwing errors about missing strings.h.

I found a strings.h under ...\cygwin\...\mingw32\include, and copied it to my ...\VC98\include\ but now the error was about not finding some functions;

So, after a longish session with a variety of Google search results, I found if I add a (macro?) block like this near the top of strings.h (as the second define block), it built successfully on Win32:

#ifdef _MSC_VER
#define strcasecmp stricmp
#define strncasecmp strnicmp
#endif