mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 22:53:06 +08:00
Merge pull request #1885 from okriuchykhin/ok_SCI_3651
Fix Uglifier config [SCI-3651]
This commit is contained in:
commit
58747f914e
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ Rails.application.configure do
|
|||
# config.require_master_key = true
|
||||
|
||||
# Compress JavaScripts and CSS.
|
||||
config.assets.js_compressor = :uglifier
|
||||
config.assets.js_compressor = Uglifier.new(harmony: true)
|
||||
# config.assets.css_compressor = :sass
|
||||
|
||||
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
||||
|
|
Loading…
Reference in a new issue