I’m getting this nasty error during compression through uglyfier. But it hell of a file, and it’s hard to track the reason
Is there a way to turn off concatenation and leaving compression i Rails?
Unexpected token: name ($j)
(in /home/grzegorz/work/navegas/app/assets/javascripts/all.js)
So you would like your files to not be concatened, but still minified, is that it ? Hmm. I don’t think there’s a ‘cool’ way to do this, but you would add all your js files names to the list of files to precompile:
And include your separate files when you need them.