I'm using YUI compressor in a bash script to minify .js files, but it throws errors and outputs a 0kb .min.js file if the original contains reserved keywords like float or long.
the bash script.sh example:
yui-compressor main.js > main.min.js
As the js compiles successfully in browser, is there a way using the above syntax to tell YUI compressor to ingnore any errors and compress the files anyway?