Home / Function/ register() — supabase Function Reference

register() — supabase Function Reference

Architecture documentation for the register() function in instrumentation.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/instrumentation.ts lines 3–13

export async function register() {
  // eslint-disable-next-line turbo/no-undeclared-env-vars
  if (process.env.NEXT_RUNTIME === 'nodejs') {
    await import('./sentry.server.config')
  }

  // eslint-disable-next-line turbo/no-undeclared-env-vars
  if (process.env.NEXT_RUNTIME === 'edge') {
    await import('./sentry.edge.config')
  }
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free