diff --git a/Gemfile_rails4.lock b/Gemfile_rails4.lock index 9364ac8f2..fa39ee6ec 100644 --- a/Gemfile_rails4.lock +++ b/Gemfile_rails4.lock @@ -388,7 +388,7 @@ GEM polyglot (>= 0.3.1) trollop (2.0) tzinfo (0.3.38) - uglifier (2.3.1) + uglifier (2.3.3) execjs (>= 0.3.0) json (>= 1.8.0) unf (0.1.3) diff --git a/config/environments/production.rb.sample b/config/environments/production.rb.sample index d486132aa..2855e6b46 100644 --- a/config/environments/production.rb.sample +++ b/config/environments/production.rb.sample @@ -16,6 +16,10 @@ Discourse::Application.configure do # Compress JavaScripts and CSS config.assets.compress = true + # rails 4 + config.assets.js_compressor = :uglifier + config.assets.css_compressor = :sass + # stuff should be pre-compiled config.assets.compile = false