plane/space/instrumentation.ts
2024-05-27 15:21:41 +05:30

10 lines
224 B
TypeScript

export async function register() {
if (process.env.NEXT_RUNTIME === 'nodejs') {
await import('./sentry.server.config');
}
if (process.env.NEXT_RUNTIME === 'edge') {
await import('./sentry.edge.config');
}
}