Skip to content

Commit

Permalink
Merge pull request #122 from FranckKe/fix-uglifier_conf
Browse files Browse the repository at this point in the history
[master] Fix JS transpilation
  • Loading branch information
FranckKe authored Apr 3, 2018
2 parents b13df42 + 98f5035 commit 9ee6925
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 @@ -19,7 +19,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 9ee6925

Please sign in to comment.