From 0d5cfdaf5d1b65cff5b2c1bde026dbb9b3351d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 26 Jul 2024 14:15:56 +0200 Subject: [PATCH 1/3] Use latest uglify-js --- lib/tasks/assets.rake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index 96082977..ce59ce85 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -181,6 +181,9 @@ def compress_ruby(from, to) uglified, map = Uglifier.new( comments: :none, + harmony: true, + mangle: false, + compress: false, source_map: { filename: File.basename(from), output_filename: File.basename(to), -- 2.45.2