-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bundlers dropping AsyncLocalStorage initialization in entrypoint (#…
…278) * Fix bundlers dropping AsyncLocalStorage initialization in entrypoint * Update lock
- Loading branch information
1 parent
8768872
commit f692b61
Showing
3 changed files
with
85 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
/* __LC_ALLOW_ENTRYPOINT_SIDE_EFFECTS__ */ | ||
|
||
import { initializeAsyncLocalStorageSingleton } from "./setup/async_local_storage.js"; | ||
|
||
// Initialize global async local storage instance for tracing | ||
/* #__PURE__ */ initializeAsyncLocalStorageSingleton(); | ||
initializeAsyncLocalStorageSingleton(); | ||
|
||
export * from "./web.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters