Skip to content

Commit

Permalink
Configure js compressor to support ES6 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
just806me authored Sep 8, 2023
1 parent 0ac5b59 commit 9bd50ba
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 @@ -26,7 +26,7 @@

# Compress CSS using a preprocessor.
# config.assets.css_compressor = :sass
config.assets.js_compressor = :uglifier
config.assets.js_compressor = Uglifier.new harmony: true

# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
Expand Down

0 comments on commit 9bd50ba

Please sign in to comment.