From 33ab64ffa930b67437ebeae4abdc10ad28b094d8 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Wed, 27 Sep 2023 07:51:56 +0000 Subject: [PATCH] fix(nextjs): Fix `RequestAsyncStorage` fallback path --- packages/nextjs/src/config/loaders/wrappingLoader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/src/config/loaders/wrappingLoader.ts b/packages/nextjs/src/config/loaders/wrappingLoader.ts index 7fc882794e5c..346f56a91cbb 100644 --- a/packages/nextjs/src/config/loaders/wrappingLoader.ts +++ b/packages/nextjs/src/config/loaders/wrappingLoader.ts @@ -189,7 +189,7 @@ export default function wrappingLoader( } templateCode = templateCode.replace( /__SENTRY_NEXTJS_REQUEST_ASYNC_STORAGE_SHIM__/g, - '@sentry/nextjs/build/esm/config/templates/requestAsyncStorageShim.js', + '@sentry/nextjs/esm/config/templates/requestAsyncStorageShim.js', ); }