fix top-level await not supported in targets
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				/ depoly (push) Successful in 1m32s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	/ depoly (push) Successful in 1m32s
				
			This commit is contained in:
		
							parent
							
								
									c97f61db06
								
							
						
					
					
						commit
						637eda5ac1
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,10 @@
 | 
			
		|||
import { render } from "solid-js/web";
 | 
			
		||||
import App from "./App.js";
 | 
			
		||||
import "solid-devtools";
 | 
			
		||||
import { attachDevtoolsOverlay } from "@solid-devtools/overlay";
 | 
			
		||||
 | 
			
		||||
render(() => <App />, document.getElementById("root")!);
 | 
			
		||||
 | 
			
		||||
if (import.meta.env.VITE_DEVTOOLS_OVERLAY === "true") {
 | 
			
		||||
  const overlay = await import("@solid-devtools/overlay")
 | 
			
		||||
  overlay.attachDevtoolsOverlay()
 | 
			
		||||
  attachDevtoolsOverlay();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue