DEV: Re-enable uglifier for non-precompiled assets

Keep `harmony` disabled
This commit is contained in:
David Taylor 2019-05-14 10:28:18 +01:00
parent f12709e24c
commit 33bd47164f

View File

@ -14,6 +14,8 @@ 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
config.assets.js_compressor = :uglifier
# stuff should be pre-compiled
config.assets.compile = false