I configured JS and CSS compressor for a project but I'm not noticing real minification of the Javascript files.
In my production.rb
I have:
config.assets.css_compressor = :sass
config.assets.js_compressor = :uglifier
CSS seems to be all minified (not only bundled together).
I'm deploying to Heroku and I notice that it precompile my assets and it's probably got some GZip compression too.
But somehow JS files still got tons of spaces, variables all kept their default name, so I guess it's only bundling all files in application.js
.
Am I getting something wrong or that's the expected output? Should I configure something apart if I want real minification of those files?
What I want is something similar to what is produced in http://jscompress.com/ or what is found on the minified jQuery version.
Thanks!