These are chat archives for opal/opal

28th
Jul 2016
Doug Orleans
@dougo
Jul 28 2016 01:06
Hm, just noticed that my Opal-generated js assets are not being uglified
I have this in my config/environments/production.rb: config.assets.js_compressor = :uglifier
Is there something else I need to set?
Doug Orleans
@dougo
Jul 28 2016 01:26
oh, duh. I was precompiling assets in development, not production.
Jamie Gaskins
@jgaskins
Jul 28 2016 14:04
That's one of the weirdest things about rake assets:precompile. You have to specify explicitly that you're precompiling for production. Who precompiles for dev? I thought Rails intended to be pragmatic. :-)