im looking for a JS minifier… i dont need obfuscation… the project has over 100 js files, arranged into a directory hierarchy.
i’ve googled around but couldnt find anything useful. i tried Dean Edwards JavaScript’s Packer but got errors in the minified script.
my requirement is simple.. i need a software to minify all these js files .
how about css files?
We have a bunch of
.jsfiles and.cssin our app too.We wrote a shell script that runs on the server that launch the YUI Compressor.
For the HTML we added some regexp replacements lines in the scripts to minify them too.
All this is part of a higher script that we use to deploy the app to the server in a single step.
Although it may sound difficult, the shell script are something easily manageable and worth learning.