Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

Commit

Permalink
Allow uglifier to compile ES6. (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garrett Martin authored Feb 14, 2018
1 parent d4204d4 commit d200c1d
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 @@ -9,7 +9,7 @@
config.action_controller.perform_caching = true
config.cache_store = :redis_store, ENV['REDISTOGO_URL']
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
config.assets.js_compressor = :uglifier
config.assets.js_compressor = Uglifier.new(harmony: true)
config.assets.compile = true
config.action_controller.asset_host = ENV.fetch("ASSET_HOST", ENV["APPLICATION_HOST"])
config.log_level = :debug
Expand Down

0 comments on commit d200c1d

Please sign in to comment.