mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 12:53:42 +08:00
DEV: Temporarily disable uglifier for non-precompiled assets
This is causing performance issues which require further investigation
This commit is contained in:
parent
bbcc39e66c
commit
f12709e24c
|
@ -14,9 +14,6 @@ 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
|
||||
|
||||
require 'uglifier'
|
||||
config.assets.js_compressor = Uglifier.new(harmony: true)
|
||||
|
||||
# stuff should be pre-compiled
|
||||
config.assets.compile = false
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user