mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
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:
parent
820e29e30e
commit
646cca3128
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue