Closed MaximilianMeister closed 5 years ago
the constant Uglifier is not accessible when opening a rails console or running a rake command
Uglifier
fix#uglifier
Signed-off-by: Maximilian Meister mmeister@suse.de (cherry picked from commit 68e42c9d9bf3d589b8ffede158ed51e5f2149664)
bsc#1118907
Uglifier::Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
the constant
Uglifier
is not accessible when opening a rails console or running a rake commandfix#uglifier
Signed-off-by: Maximilian Meister mmeister@suse.de (cherry picked from commit 68e42c9d9bf3d589b8ffede158ed51e5f2149664)
bsc#1118907
Backport of
630 #632
Uglifier::Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).