lib/ckeditor5/rails/hooks/importmap.rb in ckeditor5-1.23.4 vs lib/ckeditor5/rails/hooks/importmap.rb in ckeditor5-1.23.5
- old
+ new
@@ -45,9 +45,10 @@
end
def merge_import_maps_json(a_json, b_json)
a = JSON.parse(a_json)
b = JSON.parse(b_json)
+
a['imports'].merge!(b['imports'])
a.to_json
rescue JSON::ParserError => e
Rails.logger.error "Failed to merge import maps: #{e.message}"
b_json