mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	emoji_codes: Replace JS module with JSON module.
webpack optimizes JSON modules using JSON.parse("{…}"), which is
faster than the normal JavaScript parser.
Update the backend to use emoji_codes.json too instead of the three
separate JSON files.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
			
			
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							dce7118ec7
						
					
				
				
					commit
					e257253e64
				
			| @@ -1,3 +1,4 @@ | ||||
| const emoji_codes = require("../generated/emoji/emoji_codes.json"); | ||||
| const render_message_reaction = require('../templates/message_reaction.hbs'); | ||||
| const Dict = require('./dict').Dict; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user