From a3a89e8ddac93aeb9153ba26c5dc7f1b1693baaa Mon Sep 17 00:00:00 2001 From: Laura Ghiorghisor Date: Fri, 20 Sep 2024 15:38:18 +0100 Subject: [PATCH] Finish upgrade to frontend 5 Replace uglifier with terser. There was no need to separate out ES6 modules components since this app does not use any. In the future, such components would need to be imported separately. Follow instructions in https://docs.google.com/document/d/1uwip7pzQwM7t5ghn9_8KrsWXLePSRUltFPZ5fYw6Ab8/edit#heading=h.r2y7qlyvg991. --- Gemfile | 2 +- Gemfile.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 947a7208f..13768bb74 100644 --- a/Gemfile +++ b/Gemfile @@ -27,7 +27,7 @@ gem "pundit" gem "select2-rails", "< 4" # v4 changes the generated HTML and breaks the e2e tests gem "sentry-sidekiq" gem "stringex" -gem "uglifier" +gem "terser" group :development do gem "listen" diff --git a/Gemfile.lock b/Gemfile.lock index ddcd363ee..855620359 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -757,13 +757,13 @@ GEM statsd-ruby (1.5.0) stringex (2.8.6) stringio (3.1.1) + terser (1.2.3) + execjs (>= 0.3.0, < 3) thor (1.3.2) timecop (0.9.10) timeout (0.4.1) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - uglifier (4.2.0) - execjs (>= 0.3.0, < 3) unicode-display_width (2.5.0) uri (0.13.0) version_gem (1.1.4) @@ -831,8 +831,8 @@ DEPENDENCIES sentry-sidekiq simplecov stringex + terser timecop - uglifier webmock BUNDLED WITH