A platform for community discussion. Free, open, simple.
DEV: Re-enable uglifier for non-precompiled assets
David Taylor33bd47164f96
diff --git a/config/environments/production.rb b/config/environments/production.rbindex 2f92056f041..75c3a695120 100644--- a/config/environments/production.rb+++ b/config/environments/production.rb@@ -14,6 +14,8 @@ Discourse::Application.configure do# Disable Rails's static asset server (Apache or nginx will already do this)config.public_file_server.enabled = GlobalSetting.serve_static_assets || false+ config.assets.js_compressor = :uglifier+# stuff should be pre-compiledconfig.assets.compile = false