mirror of
https://github.com/YunoHost-Apps/discourse_ynh.git
synced 2024-09-03 18:26:18 +02:00
12 lines
520 B
Diff
12 lines
520 B
Diff
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
|
|
index 8575ca11dc..a643316bac 100644
|
|
--- a/lib/tasks/assets.rake
|
|
+++ b/lib/tasks/assets.rake
|
|
@@ -94,6 +94,7 @@ def compress_ruby(from, to)
|
|
data = File.read("#{assets_path}/#{from}")
|
|
|
|
uglified, map = Uglifier.new(comments: :none,
|
|
+ harmony: true,
|
|
source_map: {
|
|
filename: File.basename(from),
|
|
output_filename: File.basename(to)
|