SUSE / velum

Dashboard for CaaS Platform clusters (v1, v2 and v3)
https://www.suse.com/
Apache License 2.0
54 stars 30 forks source link

[3.0][bsc#1118907] require uglifier only during packaging #703

Closed MaximilianMeister closed 5 years ago

MaximilianMeister commented 5 years ago

the constant Uglifier is not accessible when opening a rails console or running a rake command

fix#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).