Skip to content

Commit

Permalink
Try this compressor
Browse files Browse the repository at this point in the history
  • Loading branch information
cwegrzyn committed May 25, 2020
1 parent d538646 commit 2bd1f29
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 @@ -64,7 +64,7 @@
config.assets.precompile = [ Proc.new{ |path| !File.extname(path).in?(['.map','.js', '.css']) },
/(?:\/|\\|\A)application\.(css|js)$/ ]

config.assets.js_compressor = Sprockets::LazyCompressor.new { Uglifier.new(:mangle => false) }
config.assets.js_compressor = :uglifier #Sprockets::LazyCompressor.new { Uglifier.new(:mangle => false) }

# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
Expand Down

0 comments on commit 2bd1f29

Please sign in to comment.