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 Aug 16, 2024
1 parent f2c0c62 commit ab838c8
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 ab838c8

Please sign in to comment.