I'm ussing the assets pipeline in Rails but the comments in the jquery and jquery-ujs files are not being removed.
It is compressing every other js and css file correctly though.
Any ideas?
Uglifier used by default in the rails asset pipeline has a config option :copyright used to preserve the copyright comments.
You can turn it off, however, legally you need to put the copyright somewhere, so if you remove the comment you'll have to put it somewhere else (visible).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With