diff options
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/production.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 03d15d1..182b74e 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb | |||
@@ -24,7 +24,7 @@ Rails.application.configure do | |||
24 | config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? | 24 | config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? |
25 | 25 | ||
26 | # Compress JavaScripts and CSS. | 26 | # Compress JavaScripts and CSS. |
27 | config.assets.js_compressor = :uglifier | 27 | config.assets.js_compressor = Uglifier.new(harmony: true) |
28 | # config.assets.css_compressor = :sass | 28 | # config.assets.css_compressor = :sass |
29 | 29 | ||
30 | # Do not fallback to assets pipeline if a precompiled asset is missed. | 30 | # Do not fallback to assets pipeline if a precompiled asset is missed. |