You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			17 lines
		
	
	
		
			653 B
		
	
	
	
		
			JavaScript
		
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			653 B
		
	
	
	
		
			JavaScript
		
	
| 
											9 months ago
										 | // This file should be imported before any others. It sets up the environment
 | ||
|  | // for later imports to work properly.
 | ||
|  | // expose AsyncLocalStorage on global for react usage if it isn't already provided by the environment
 | ||
|  | "use strict"; | ||
|  | if (typeof globalThis.AsyncLocalStorage !== "function") { | ||
|  |     const { AsyncLocalStorage } = require("async_hooks"); | ||
|  |     globalThis.AsyncLocalStorage = AsyncLocalStorage; | ||
|  | } | ||
|  | if (typeof globalThis.WebSocket !== "function") { | ||
|  |     Object.defineProperty(globalThis, "WebSocket", { | ||
|  |         get () { | ||
|  |             return require("next/dist/compiled/ws").WebSocket; | ||
|  |         } | ||
|  |     }); | ||
|  | } | ||
|  | 
 | ||
|  | //# sourceMappingURL=node-environment.js.map
 |