File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 4646 "node" : " ./build/cjs/index.server.js" ,
4747 "import" : " ./build/esm/index.server.js"
4848 },
49+ "./async-storage-shim" : {
50+ "import" : {
51+ "default" : " ./build/esm/config/templates/requestAsyncStorageShim.js"
52+ },
53+ "require" : {
54+ "default" : " ./build/cjs/config/templates/requestAsyncStorageShim.js"
55+ }
56+ },
4957 "./import" : {
5058 "import" : {
5159 "default" : " ./build/import-hook.mjs"
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ export default function wrappingLoader(
174174 }
175175 templateCode = templateCode . replace (
176176 / _ _ S E N T R Y _ N E X T J S _ R E Q U E S T _ A S Y N C _ S T O R A G E _ S H I M _ _ / g,
177- '@sentry/nextjs/build/esm/config/templates/requestAsyncStorageShim.js ' ,
177+ '@sentry/nextjs/async-storage-shim ' ,
178178 ) ;
179179 }
180180
Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ export interface RequestAsyncStorage {
77 }
88 | undefined ;
99}
10+
11+ export const requestAsyncStorage = undefined ;
12+ export const workUnitAsyncStorage = undefined ;
You can’t perform that action at this time.
0 commit comments