2018-12-05 07:37:41 +01:00
|
|
|
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
|
2019-06-25 21:22:10 +02:00
|
|
|
index 4a02d5f1b1..7b47f21658 100644
|
2018-12-05 07:37:41 +01:00
|
|
|
--- a/lib/tasks/assets.rake
|
|
|
|
+++ b/lib/tasks/assets.rake
|
2022-07-27 04:15:08 +02:00
|
|
|
@@ -126,6 +126,9 @@
|
2018-12-05 07:37:41 +01:00
|
|
|
data = File.read("#{assets_path}/#{from}")
|
2022-07-27 04:15:08 +02:00
|
|
|
|
2018-12-05 07:37:41 +01:00
|
|
|
uglified, map = Uglifier.new(comments: :none,
|
|
|
|
+ harmony: true,
|
2022-07-27 04:15:08 +02:00
|
|
|
+ mangle: false,
|
|
|
|
+ compress: false,
|
2018-12-05 07:37:41 +01:00
|
|
|
source_map: {
|
|
|
|
filename: File.basename(from),
|
2019-02-10 12:13:29 +01:00
|
|
|
output_filename: File.basename(to)
|