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
Uglifier::Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
Gem versions:
sprockets (3.7.2)
sprockets_uglifier_with_source_maps (2.1.0)
uglifier (4.1.11)
sprockets-rails (3.2.1)
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: