Skip to content

Commit 53612c9

Browse files
committed
Set config.assets.js_compressor = Uglifier.new(harmony: true)
1 parent c94a97f commit 53612c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/environments/production.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
config.serve_static_assets = false
2424

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

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

0 commit comments

Comments
 (0)