mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:53:37 +08:00
DEV: Re-enable uglifier for non-precompiled assets
Keep `harmony` disabled
This commit is contained in:
parent
f12709e24c
commit
33bd47164f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user