DEV: Temporarily disable uglifier for non-precompiled assets

This is causing performance issues which require further investigation
This commit is contained in:
David Taylor 2019-05-14 09:34:38 +01:00
parent bbcc39e66c
commit f12709e24c

View File

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