Skip to content

Commit

Permalink
changing uglifier settings to fix a build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanmtz authored Aug 19, 2018
1 parent 907997f commit fb7d04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?

# 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.
Expand Down

0 comments on commit fb7d04d

Please sign in to comment.