diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 00:48:40 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 00:48:40 +0200 |
commit | 4baca34a4596b6224e108053d0e42b98324afe92 (patch) | |
tree | 876c67a6af7d76053d685c30695535ed12301026 | |
parent | 564e01eaf6f6523761695b74fde96eef5002ed9c (diff) |
Do not compress JS (perhaps it removes source maps, needed for debugging)
-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 5e010b206..34381e4ca 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -19,7 +19,7 @@ Rails.application.configure do config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? # Compress JavaScripts and CSS. - config.assets.js_compressor = :uglifier + # config.assets.js_compressor = :uglifier # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed. |