Initial commit

This commit is contained in:
bilulib
2025-04-13 00:18:57 +02:00
parent cff009bb7c
commit d894249e61
18301 changed files with 2905442 additions and 3845 deletions

View File

@@ -0,0 +1,24 @@
// 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
if (typeof globalThis.AsyncLocalStorage !== 'function') {
const { AsyncLocalStorage } = require('async_hooks');
globalThis.AsyncLocalStorage = AsyncLocalStorage;
}
if (typeof globalThis.WebSocket !== 'function') {
Object.defineProperty(globalThis, 'WebSocket', {
configurable: true,
get () {
return require('next/dist/compiled/ws').WebSocket;
},
set (value) {
Object.defineProperty(globalThis, 'WebSocket', {
configurable: true,
writable: true,
value
});
}
});
}
//# sourceMappingURL=node-environment-baseline.js.map