Skip to content

Commit

Permalink
Configure Uglifier gem to minify js (#7937)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlazypanda authored Jun 3, 2020
1 parent 547fe42 commit fceebea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Compress JavaScripts and CSS
config.assets.compress = true
config.assets.js_compressor = Uglifier.new(harmony: true)

# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = true
Expand Down Expand Up @@ -60,7 +61,7 @@
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
# config.action_mailer.delivery_method = :sendmail

config.action_mailer.delivery_method = :smtp

config.action_mailer.smtp_settings = {
Expand Down

0 comments on commit fceebea

Please sign in to comment.