2024-07-26 14:21:38 +02:00
|
|
|
From 0d5cfdaf5d1b65cff5b2c1bde026dbb9b3351d4f Mon Sep 17 00:00:00 2001
|
|
|
|
From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= <felix@piedallu.me>
|
|
|
|
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(+)
|
|
|
|
|
2018-12-05 07:37:41 +01:00
|
|
|
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
|
2024-07-26 14:21:38 +02:00
|
|
|
index 96082977..ce59ce85 100644
|
2018-12-05 07:37:41 +01:00
|
|
|
--- a/lib/tasks/assets.rake
|
|
|
|
+++ b/lib/tasks/assets.rake
|
2024-07-26 14:21:38 +02:00
|
|
|
@@ -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
|
|
|
|
|