Skip to content

Exporting Replay from @sentry/nextjs #6574

@kachkaev

Description

@kachkaev

Problem Statement

It’d be great to be able to do the same as #6508, but via @sentry/nextjs.

Current

import { Replay } from "@sentry/browser";
import * as Sentry from "@sentry/nextjs";

// new Replay()

Expected

import * as Sentry from "@sentry/nextjs";

// new Sentry.Replay()

Solution Brainstorm

  • Re-export Replay from @sentry/nextjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions