Skip to content

Commit

Permalink
uglifier stuff
Browse files Browse the repository at this point in the history
Uglifier.new(harmony: true)

lautis/uglifier#127 (comment)
  • Loading branch information
lucfranken committed May 19, 2018
1 parent 94c388c commit 168a419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Expand Up @@ -25,7 +25,7 @@
config.public_file_server.enabled = 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 168a419

Please sign in to comment.