Skip to content
This repository was archived by the owner on Nov 6, 2021. It is now read-only.

Commit c9c4a51

Browse files
committed
Fix for es6 and deployment.
1 parent 1e2bf18 commit c9c4a51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/environments/production.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present?
2424

2525
# Compress JavaScripts and CSS.
26-
config.assets.js_compressor = :uglifier
26+
config.assets.js_compressor = Uglifier.new(harmony: true)
27+
2728
# config.assets.css_compressor = :sass
2829

2930
# Do not fallback to assets pipeline if a precompiled asset is missed.

0 commit comments

Comments
 (0)