mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	js: Elide .js and .ts extensions from imports and requires.
This will be required for TypeScript. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							b9184eee65
						
					
				
				
					commit
					279e4b819e
				
			@@ -1,6 +1,6 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
 | 
			
		||||
const LazySet = zrequire("lazy_set.js").LazySet;
 | 
			
		||||
const LazySet = zrequire("lazy_set").LazySet;
 | 
			
		||||
 | 
			
		||||
const noop = () => {};
 | 
			
		||||
global.stub_templates(() => noop);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user