Skip to content

Commit

Permalink
Fix deploy as per lautis/uglifier#185
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Sep 11, 2024
1 parent 0ec0848 commit 89decec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
config.public_file_server.enabled = true

# Compress JavaScripts and CSS.
config.assets.js_compressor = Uglifier.new(harmony: true)
# config.assets.js_compressor = Uglifier.new(harmony: true)
config.assets.configure do |env|
env.js_compressor = :uglifier
env.css_compressor = :sass
end
# config.assets.css_compressor = :sass

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

0 comments on commit 89decec

Please sign in to comment.