Open parterburn opened 6 years ago
I got around this by adding config.assets.uglifier = { harmony: true }
above config.assets.js_compressor = :uglifier_with_source_maps
in production.rb.
in production.rb change to: config.assets.js_compressor = Uglifier.new(harmony: true)
When deploying on Heroku, there's a new error that popped up after upgrading to the latest Sprockets, per the vulnerability described at https://blog.heroku.com/rails-asset-pipeline-vulnerability
Gem versions: