mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-25 04:32:32 +00:00 
			
		
		
		
	 93b4c3bb82
			
		
	
	
		93b4c3bb82
		
	
	
	
	
		
			
			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" };
 |