Uglifier::Error: Unexpected token: operator (>). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
I added config.assets.js_compressor = Uglifier.new(harmony: true) to config/environments/production.rb, but I'm still getting this error. Is this known behavior?
I was getting this error on deployment:
Uglifier::Error: Unexpected token: operator (>). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
I added
config.assets.js_compressor = Uglifier.new(harmony: true)
toconfig/environments/production.rb
, but I'm still getting this error. Is this known behavior?