File tree 3 files changed +12
-1
lines changed
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 46
46
"node" : " ./build/cjs/index.server.js" ,
47
47
"import" : " ./build/esm/index.server.js"
48
48
},
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
+ },
49
57
"./import" : {
50
58
"import" : {
51
59
"default" : " ./build/import-hook.mjs"
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ export default function wrappingLoader(
174
174
}
175
175
templateCode = templateCode . replace (
176
176
/ _ _ 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 ' ,
178
178
) ;
179
179
}
180
180
Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ export interface RequestAsyncStorage {
7
7
}
8
8
| undefined ;
9
9
}
10
+
11
+ export const requestAsyncStorage = undefined ;
12
+ export const workUnitAsyncStorage = undefined ;
You can’t perform that action at this time.
0 commit comments