mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	This allows `import "./foo"` to succeed, even if the file is actually called `foo.js`. IDEs commonly exclude file extensions in auto-imports. Closes #14364.
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			184 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			184 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// If all of these succeed, path resolution with implicit extensions is working.
 | 
						|
 | 
						|
import "./module-with-default";
 | 
						|
import "./submodule";
 | 
						|
import "./json-module" assert { type: "json" };
 |