Good luck getting this updated everywhere, kicking myself really hard for allowing these stupid sample files

see: http://meta.discourse.org/t/enough-with-the-sample-files/10351

Our default sample setup was not minifying css or js causing js and css to be 2.5x larger than it needed

Anyone using my docker setup, please run a new bootstrap. Anyone else, apply diff manually.
This commit is contained in:
Sam 2013-12-16 18:21:24 +11:00
parent 820e29e30e
commit 646cca3128
2 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -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