mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Merge pull request #1097 from biosistemika/lm-fix-production-compiling
Change JS compressor from :uglifier to Uglifier.new(harmony: true)
This commit is contained in:
commit
2290b75f8a
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ Rails.application.configure do
|
|||
# config.action_dispatch.rack_cache = 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