Let's try telling uglifier to user 1k lines
This commit is contained in:
parent
b250696e04
commit
309144d9fc
|
@ -18,6 +18,7 @@ Discourse::Application.configure do
|
|||
|
||||
# Do not compress assets
|
||||
config.assets.compress = false
|
||||
config.assets.js_compressor = Uglifier.new(max_line_len: 1024)
|
||||
|
||||
# Don't Digest assets, makes debugging uglier
|
||||
config.assets.digest = false
|
||||
|
|
|
@ -12,7 +12,7 @@ Discourse::Application.configure do
|
|||
# Disable Rails's static asset server (Apache or nginx will already do this)
|
||||
config.serve_static_assets = GlobalSetting.serve_static_assets
|
||||
|
||||
config.assets.js_compressor = :uglifier
|
||||
config.assets.js_compressor = Uglifier.new(max_line_len: 1024)
|
||||
config.assets.css_compressor = :sass
|
||||
|
||||
# stuff should be pre-compiled
|
||||
|
|
Loading…
Reference in New Issue