1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00
discourse_ynh/sources/patches/app-1-use-latest_uglify-js.patch
Josue-T bbdbb4499b Update to discourse v2.1.4 (#8)
* Update to discourse v2.1.4

* Update patch name
2018-12-05 07:37:41 +01:00

12 lines
No EOL
519 B
Diff

diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
index bdca7c30ed..847a8d07c2 100644
--- a/lib/tasks/assets.rake
+++ b/lib/tasks/assets.rake
@@ -95,6 +95,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)